seqlr.score.prog {SubgrpID} | R Documentation |
seqlr.score.prog
Description
Compute score of cutoff for prognostic case
Usage
seqlr.score.prog(
data,
yvar,
censorvar,
xvar,
cutoff,
type,
class.wt,
dir,
nsubj,
min.sigp.prcnt
)
Arguments
data |
input data frame. |
yvar |
response variable name. |
censorvar |
censoring variable name. |
xvar |
name of predictor for which cutpoint needs to be obtained. |
cutoff |
a specific cutpoint for which the score needs to be computed. |
type |
"c" continuous; "s" survival; "b" binary. |
class.wt |
vector of length 2 used to weight the accuracy score , useful when there is class imbalance in binary data defaults to c(1,1). |
dir |
direction of cut. |
nsubj |
number of subjects. |
min.sigp.prcnt |
desired proportion of signature positive group size for a given cutoff. |
Details
Compute score of cutoff for prognostic case
Value
score (p-value of main effect) for the given cutoff.
[Package SubgrpID version 0.12 Index]