getPoolSizes: Get pool sizes for phase 2

Description Usage Arguments Examples

Description

Get pool sizes for phase 2

Usage

1
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

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

crso documentation built on July 7, 2019, 5:02 p.m.