findOptCutoff: Find two differening groups in survival data

View source: R/findOptCutoff.R

findOptCutoffR Documentation

Find two differening groups in survival data

Description

Tests different cutoffs on a continuous variable and calculates log-rank tests / survival differences

Usage

findOptCutoff(data, srv, delta = 0.1, minGrpSize = 1, subject = NULL)

Arguments

data

vector with value to analyze

srv

Surv object with the corresponding data

delta

proportion in which group splitting should be performed

minGrpSize

minimum group size for cutoffs

subject

subject IDs if multiple measurements per subjects are to be tested

Value

data.frame with the calculated survival values (p.value, median survival, group sizes, cutoffsize, stepsize)


mknoll/dataAnalysisMisc documentation built on Nov. 17, 2024, 9:40 a.m.