getPoolSizes {crso}R Documentation

Get pool sizes for phase 2

Description

Get pool sizes for phase 2

Usage

getPoolSizes(rm.ordered, k.max, max.nrs.ee, max.compute)

Arguments

rm.ordered

binary rule matrix ordered from phase 1

k.max

maximum rule set size

max.nrs.ee

max number of rule sets per k

max.compute

maximum raw rule sets considered per k

Examples

library(crso)
data(skcm)
list2env(skcm.list,envir=globalenv())
rm.full <- buildRuleLibrary(D,rule.thresh = 0.05) # Rule library matrix, dimension: 60 x 71
rm.ordered <- rm.full # Skip phase one in this example
getPoolSizes(rm.ordered,k.max = 7,max.nrs.ee = 10000)
# [1] 60  60  40  23  18  16  15

[Package crso version 0.1.1 Index]