## Declare simulated data as metaSDTdata
metadata <- metaSDTdata(simMetaData, type1='resp', type2='conf', signal='S')
## Fit model to subset of data
fit <- metaSDTreg(A ~ signal,
data=metadata,
subset = m <= 20)
## Model-predicted signal-specific ROC curve
signalROC <- predict_roc(fit, type = 's')
Run the code above in your browser using DataLab