Learn R Programming

kaps (version 0.9-8)

kaps.control: Control minor parameters for "apss" object

Description

It provides the parameters for kaps(), which are less in use for practical situations.

Usage

kaps.control(pre.pt = list(), scope = list(), rho = 0, ncl = 1, 
    fold = TRUE, lower.limit = 0, upper.limit = 12, 
	shortcut = TRUE, splits = c("logrank","maxstat"),
    p.adjust.methods = c("none","holm", "hochberg", "hommel", "bonferroni", 
        "BH", "BY", "fdr"))

Arguments

pre.pt
a parameter with the type of list in order to treat pre-specified split candidates. Use the option as list(var = split points), i.e., x = 1:100
scope
a parameter with the type of list in order to treat pre-determined split range. Use the option as list(var = ranges), i.e., x = c(1,100)
rho
a scalar parameter that controls the type of logrank test. See survdiff.
ncl
a scalar parameter with the type of integer to determine the number of cores used in parallel computing
fold
a logical parameter to determine the use of V-fold Cross-Validation in the step of finding optimal K subgroups
lower.limit
a scalar parameter with the type of numeric to treat pre-determined overall lower bound. Default is 0.
upper.limit
a scalar parameter with the type of numeric to treat pre-determined overall upper bound. Default is 12.
shortcut
a logical value. If TRUE, we skip the off-diagonal matrix in pairwise-comparison to reduce computational cost. Default is TRUE.
splits
a character value to determine the kind of pairwise test. Default is logrank test.
p.adjust.methods
a character parameter to select the criteria for the multiple comparison.

See Also

kaps