plotRocsInjectedSignals | R Documentation |
Plot the ROC curves for various injected signal sizes
plotRocsInjectedSignals(logRr, trueLogRr, showAucs, fileName = NULL)
logRr |
A vector containing the log of the relative risk as estimated by a method. |
trueLogRr |
A vector containing the injected log(relative risk) for each estimate. |
showAucs |
Should the AUCs be shown in the plot? |
fileName |
Name of the file where the plot should be saved, for example 'plot.png'. See the
function |
A Ggplot object. Use the ggsave
function to save to file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.