fixcut_con {BioPred} | R Documentation |
Fixed Cutoff Analysis for Individual Biomarker Associated with Continuous Outcome
Description
This function conducts fixed cutoff analysis for individual biomarker associated with continuous outcome variables.
Usage
fixcut_con(
yvar,
xvar,
dir,
cutoffs,
data,
method = "t.test",
yvar.display = yvar,
xvar.display = xvar,
vert.x = FALSE
)
Arguments
yvar |
Continuous response variable name. |
xvar |
Biomarker name. |
dir |
Cutoff direction for the desired subgroup. Options are ">", ">=", "<", or "<=". |
cutoffs |
A vector of candidate cutoffs. |
data |
The dataset containing the variables. |
method |
Method for cutoff selection. Currently only supports "t.test". - "t.test": Minimizes the t-test p-value. |
yvar.display |
Display name of the response variable. |
xvar.display |
Display name of the predictor variable. |
vert.x |
Whether to display the cutoff in a 90-degree angle when plotting (saves space). |
Value
A list containing statistical summaries, selected cutoff statistics, selected cutoff value, group statistics, and a ggplot object for visualization.
[Package BioPred version 1.0.1 Index]