2
0
Fork 0
R Package implementing the CVE (Conditional Variance Estimation) Method for SDR (Sufficient Dimension Reduction).
Go to file
Daniel Kapla b71898a5bc update: CVE paper,
add: predict_dim doc,
altered method check to avid "may not initialized" warning
2019-12-17 21:43:14 +01:00
CVE update: CVE paper, 2019-12-17 21:43:14 +01:00
simulations - add: simulations, 2019-12-17 12:07:33 +01:00
README.md - add: simulations, 2019-12-17 12:07:33 +01:00

README.md

Installation Instructions

The package depends on the mda package (see: mda @ cran.r-project. Therefore the first step is to install the mda package

install.packages("mda")

A release will be available in a few days.

  • Linux: Not available jet (one or two days, state 17.12.2019)
  • Windows: Not available jet (one or two days, state 17.12.2019)
  • MacOS: Not available jet (unknown)

Open R and then the following:

# addapt to download file.
install.packages("path/to/cve_0.2.<end>", repos = NULL)
library(CVE) # Test installation.

Please consult the man-pages ?install.package and ?library for further information.

Installing Source

Cloning the CVE repository and using R's build and install routines from a terminal.

git clone https://git.art-ist.cc/daniel/CVE.git  # Clone repository
cd CVE                                           # Go into the repository
R CMD build CVE                                  # Build package tarbal
R CMD INSTALL CVE_0.2.tar.gz                     # Install package

Windows / macOS

Installing from source (for any package which contains compiled code, in our case C) on Windows and MacOS requires additional tools. See R Installation and Administration from r-project manuals.

Repository Structure

The repository is structured in two directories, the CVE/ directory which is the R package root and simulations/ where all simulation scripts can be found (and README.md which is this).