2
0
Fork 0
R Package implementing the CVE (Conditional Variance Estimation) Method for SDR (Sufficient Dimension Reduction).
Go to file
Daniel Kapla 92b1a49d2b fix: Removed openMP compiler flags (clang support, macOS) 2019-10-22 10:29:07 +02:00
CVE_C fix: Removed openMP compiler flags (clang support, macOS) 2019-10-22 10:29:07 +02:00
CVE_R cleanup 2019-09-25 14:49:12 +02:00
CVE_legacy cleanup 2019-09-25 14:49:12 +02:00
LaTeX wip: benchmarking, 2019-10-18 09:06:36 +02:00
LICENSE add: sample Package 2019-06-21 11:40:57 +02:00
README.md add: runtime_test demo 2019-08-14 20:05:42 +02:00
benchmark.R wip: benchmarking, 2019-10-18 09:06:36 +02:00
benchmark.c wip: benchmarking, 2019-10-18 09:06:36 +02:00
benchmark.h wip: benchmarking, 2019-10-18 09:06:36 +02:00
build_install.R cleanup 2019-09-16 11:28:06 +02:00
notes.md add: C implementation, 2019-09-16 11:15:51 +02:00
runtime_test.R wip: benchmarking, 2019-10-18 09:06:36 +02:00
test.R add: cve_simple pure C implementation. 2019-09-25 13:53:45 +02:00

README.md

Overview

  • CVE/: Contains actual R package.
  • CVE_legacy/: Contains original (first) R implementatin of the CVE method. The *.R and *.cpp files in the root directory are development and test files.

TODO: README.md

Package Structure

Demos

A demo is an .R file that lives in demo/. Demos are like examples but tend to be longer. Instead of focussing on a single function, they show how to weave together multiple functions to solve a problem.

You list and access demos with demo():

  • Show all available demos: demo().
  • Show all demos in a package: demo(package = "CVE").
  • Run a specific demo: demo("runtime_test", package = "CVE").
  • Find a demo: system.file("demo", "runtime_test.R", package = "CVE").

Each demo must be listed in demo/00Index in the following form: demo-name Demo description. The demo name is the name of the file without the extension, e.g. demo/runtime_test.R becomes runtime_test.

By default the demo ask for human input for each plot: "Hit to see next plot". This behaviour can be overridden by adding devAskNewPage(ask = FALSE) to the demo file. You can add pauses by adding: readline("press any key to continue").

Note: Demos are not automatically tested by R CMD check. This means that they can easily break without your knowledge.