Description Usage Arguments Value
Calculate p-value for treatment in each subgroup in prognostic case
1 | pval.cal.prog(data, yvar, censorvar, grp.id, type, des.res)
|
data |
input data frame |
yvar |
name for response variable |
censorvar |
name for censoring (1: event; 0: censor), default = NULL |
grp.id |
subgroup id |
type |
type of response variable: "c" continuous (default); "s" survival; "b" binary |
des.res |
the desired response. "larger": prefer larger response (default) "smaller": prefer smaller response |
p-value for the main effect given the dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.