Description Usage Arguments Value Author(s) References See Also Examples
Finds the area under the ROC curve.
1 | ROCauc(model, direction = "auto")
|
model |
an object of type model from |
direction |
same as |
Returns the area under the curve (AUC) for the fitted and empirical receiver operator characteristic (ROC) curves. The empirical AUC value is calculated using the pROC package.
Michelle Winerip, Garrick Wallstrom, Joshua LaBaer
Xavier Robin, Natacha Turck, Alexandre Hainard, Natalia Tiberti, Fr?d?rique Lisacek, Jean-Charles Sanchez and Markus M?ller (2011). "pROC: an open-source package for R and S+ to analyze and compare ROC curves". BMC Bioinformatics, 12, p. 77. DOI: 10.1186/1471-2105-12-77
1 2 3 4 | cases=rmix(50,10,1.2,20,1.3,.7)
controls=rmix(50,9,1.1,17,1.3,.95)
model=bimixt.model(cases,controls,"4c")
ROCauc(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.