Giter Club home page Giter Club logo

condreg's Introduction

CondReg: R package for condition number regularized covariance estimator

This repository hosts the R code implementation of the condition number regularized covariance estimator as an R package:

Won, J.-H., Lim, J., Kim, S.-J. and Rajaratnam, B. (2013), Condition-number-regularized covariance estimation. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 75: 427-450. doi:10.1111/j.1467-9868.2012.01049.x

Installation

CRAN published version

install.packages("CondReg")

Latest GitHub version

devtools::install_github("dddlab/CondReg")

Development

Container-based development environments are also specified in this repository. The relevant files are:

Above files allow deploying the development environments using GitHub Codespaces, Visual Studio Code, or Docker compose.

Visual Studio Code

Development environment can be deployed on your local machine (Dev Containers) or remotely on GitHub Codespaces. GitHub Codespaces can be accessed through a web-based Visual Studio Code interface. If you have a local installation of Visual Studio Code, it can connect to both Dev Containers and GitHub Codespaces.

GitHub Codespaces (Remote)

You will need access to Codespaces and enabled. Then, the files in .devcontainer directory will do all the work!

Dev Container (Local)

Follow the Remote Development in Containers tutorial

Docker Compose

Here are the steps:

# Clone this repository
git clone https://github.com/dddlab/CondReg
cd CondReg

# Build image and start container
docker-compose build CondReg
docker-compose up

Find and click on a link similar to

http://127.0.0.1:8888/lab?token=[generated token string]

and start your RStudio.

Repository File Location

Due to the differences in working directory settings (workspaceFolder is not implemented in GitHub Codespaces), the path to the workspace folder is /workspaces/CondReg.

Since /workspaces directory is not writable by jovyan user, building and checking the R package would not work from /workspaces directory. Instead, there is a symbolic link directory /home/jovyan/work is also created. You would need to switch to /home/jovyan in order to build and check the R package:

cd /home/jovyan
R CMD build work
R CMD check CondReg_[version-number].tar.gz

condreg's People

Contributors

syoh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.