subgrp_perf_pred {BioPred} | R Documentation |
Subgroup Performance Evaluation for Predictive Cases
Description
This function evaluates the performance of subgroups based on different types of response variables in predictive cases.
Usage
subgrp_perf_pred(
yvar,
censorvar = NULL,
grpvar,
grpname,
trtvar,
trtname,
xvars.adj = NULL,
data,
type,
yvar.display = yvar,
grpvar.display = grpvar,
trtvar.display = trtvar
)
Arguments
yvar |
Response variable name. |
censorvar |
Censoring variable name (0-censored, 1-event). |
grpvar |
Subgroup variable name. |
grpname |
A vector of ordered subgroup names (values in the column of grpvar). |
trtvar |
Treatment variable name. |
trtname |
A vector of ordered treatment names (values in the column of trtvar). |
xvars.adj |
Other covariates to adjust when evaluating the performance. |
data |
The dataset. |
type |
"c" for continuous; "s" for "survival", and "b" for binary. |
yvar.display |
Display name of the response variable. |
grpvar.display |
Display name of the group variable. |
trtvar.display |
Display name of the treatment variable. |
Value
A list containing the comparison results, group results, and possibly a plot.
[Package BioPred version 1.0.1 Index]