defaultAnalyses: A function used when both sets of cutpoints are NULL This...

View source: R/evaluate-cutpoints.R

defaultAnalysesR Documentation

A function used when both sets of cutpoints are NULL This function calculates the best cutpoint using cutp, maxstat, ROC and Youden methods, generates ROC Plots, Kaplan-Meier plots and histograms for 2 and 3 groups.

Description

A function used when both sets of cutpoints are NULL This function calculates the best cutpoint using cutp, maxstat, ROC and Youden methods, generates ROC Plots, Kaplan-Meier plots and histograms for 2 and 3 groups.

Usage

defaultAnalyses(df, time, event, biomarker)

Arguments

df

input data frame

time

Time variable

event

Event variable

biomarker

Biomarker variable

Value

2 folders for each biomarker with results


mogluszka/evaluateCutpoints documentation built on Sept. 16, 2022, 2:44 a.m.