define_algos: Set List of Algorithms to Run

Description Usage Arguments Details Value Examples

View source: R/stats.R

Description

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

Usage

1
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.

Details

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

Value

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

Examples

1
2
3
4
5
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)

mdsstat documentation built on March 13, 2020, 2:58 a.m.