Learn R Programming

mdsstat (version 0.3.2)

define_algos: Set List of Algorithms to Run

Description

Define any number of algorithms with various parameter settings and save as a reusable set of instructions.

Usage

define_algos(algos)

Arguments

algos

Required named list of mdsstat algorithms to run. Each named list element must be a single list of parameter values for the algorithm named. The list of parameters may be an empty list (indicating the default values) and must not contain the first parameter df. See details and examples for more.

Value

Validated list of instructions that may be used in the run_algos function.

Details

Each algorithm may be named multiple times (to allow running of multiple parameter settings). Do not specify the df parameter.

Examples

Run this code
# NOT RUN {
x <- list(prr=list(),
  xbar=list(),
  xbar=list(ts_event=c(Rate="rate"), we_rule=2),
  poisson_rare=list(p_rate=0.3))
define_algos(x)
# }

Run the code above in your browser using DataLab