best_cutoff: Extract best cut-off and add new binary object to data frame

View source: R/tmescore.R

best_cutoffR Documentation

Extract best cut-off and add new binary object to data frame

Description

Extract best cut-off and add new binary object to data frame

Usage

best_cutoff(pdata, variable, time = "time", status = "status", PrintResult = T)

Arguments

pdata

phenotype data with surcival information and features

variable

selected featrues that will be classified into two groups

time

column name of survival time

status

column name of event of follow up

PrintResult

logit, print results of survival analysis before and after classifying.

Value

pdata with binary variables


DongqiangZeng0808/TMEscore documentation built on Feb. 7, 2023, 5:13 a.m.