Skip to contents

During the implement of precision.simulate function, according to the length of design.list, class.list, and norm.list, to create a storage list to store the output from precision.simulate.

Usage

create.storage(
  design.list = c("CC+", "CC-", "PC+", "PC-"),
  class.list = c("PAM", "LASSO"),
  norm.list = c("NN", "QN"),
  validating.sets = c("test", "gold.standard")
)

Arguments

design.list

List of design methods to be applied in precision.simulate.

class.list

List of classification methods to be applied in precision.simulate

norm.list

List of normalization methods to be applied in precision.simulate

validating.sets

Types of validation methods.

Value

A list whose size is determined by the input parameters.

Details

create.storage

Examples

create.storage(design.list = c("CC+", "CC-", "PC+", "PC-"),
               class.list = c("PAM", "LASSO"),
               norm.list = c("NN", "QN"),
               validating.sets = c("test", "gold.standard"))
#>               CC+    CC-    PC+    PC-   
#> test          list,4 list,4 list,4 list,4
#> gold.standard list,4 list,4 list,4 list,4