Description Usage Arguments Value Examples
This function performs ROC analysis for tripartite rules. If plot=TRUE, the ROC curve is returned.
1 | ROCAnalysis(Obj, plot = TRUE)
|
Obj |
An object of class TGST. |
plot |
Logical parameter indicating if ROC curve should be plotted. Default is |
AUC (the area under ROC curve) and ROC curve.
1 2 3 4 5 6 7 | d = Simdata
Z = d$Z # True Disease Status
S = d$S # Risk Score
phi = 0.1 #10% of patients taking viral load test
lambda = 0.5
Obj = TGST(Z, S, phi, method="nonpar")
ROCAnalysis(Obj, plot=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.