psychopdaROC Time-Dependent Biomarker Data
Source:R/data_psychopdaROC_docs.R
psychopdaROC_timedep.RdDataset with 140 patients featuring baseline and follow-up biomarker measurements for evaluating time-dependent diagnostic performance.
Format
A data frame with 140 rows and 5 variables:
- patient_id
Character: Patient identifier (PT001-PT140)
- outcome
Factor: "Event" or "No_Event" (32%/68% prevalence)
- baseline_marker
Numeric: Baseline biomarker (mean: 70 for event, 50 for no event)
- followup_marker
Numeric: Follow-up biomarker (increases for events, decreases for no events)
- time_to_outcome
Numeric: Time to outcome in months (1-36)
Details
Follow-up marker changes from baseline: increases by ~15 for events, decreases by ~5 for no events. Enables ROC analysis with change scores or follow-up values.
Examples
data(psychopdaROC_timedep)
psychopdaROC(data = psychopdaROC_timedep,
dependentVars = c("baseline_marker", "followup_marker"),
classVar = "outcome", positiveClass = "Event")
#> Error in psychopdaROC(data = psychopdaROC_timedep, dependentVars = c("baseline_marker", "followup_marker"), classVar = "outcome", positiveClass = "Event"): argument "refVar" is missing, with no default