findCutoffs {TCPMOR} | R Documentation |
Finding the two cut-off points
findCutoffs(spm.fit, dataC)
spm.fit |
Fitted semi-parametric model object |
dataC |
Data frame containing age and binary outcome variables |
Data frame containing age, fitted lnOR, OR, se, sp, sse, and ssp
# Generate simulated data dataC
dataC <- createData(200)
# Fit the semi-parametric model
spm.fit <- fitSemiParamModel(dataC)
# Find two cut-off points
dataC <- findCutoffs(spm.fit, dataC)