Description Usage Arguments Value Examples
Calculate the p-value for the TPRC test statistic. Test the departure from a proper ROC model using a Monte Carlo simulation. The test might take some minutes to be completed
1 | pvaltprc(roctab, numiter = 200L)
|
roctab |
A ROC Table (S3 object derived from a S3 matrix) |
numiter |
The number of Monte Carlo simulations |
pval, the p-value for the Test for a Proper ROC Curve (TPRC)
1 2 3 4 | ROCGene1 <- roctable(OvarianData$Gene1, OvarianData$Status)
pvalROCGene1 <- pvaltprc(ROCGene1)
print(paste("Test for a Proper ROC curve for Gene1: p = ",
round(pvalROCGene1,4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.