Description Usage Arguments Value
Find cutoff for prognostic case.
1 2 | seqlr.find.cutoff.prog(data, yvar, censorvar, xvar, type, class.wt, dir, nsubj,
min.sigp.prcnt)
|
data |
input data frame. |
yvar |
response variable name. |
censorvar |
censoring variable name. |
xvar |
name of predictor for which cutpoint needs to be obtained. |
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. |
the optimal score (p-value of main effect) for a predictor variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.