stratiflevels | R Documentation |
Accessor function to extract the stratification levels that are represented
in a COBRAPerformance
or COBRAPlot
object.
stratiflevels(x, ...)
## S4 method for signature 'COBRAPerformance'
stratiflevels(x)
x |
A |
... |
Additional arguments |
A character vector of all stratification levels represented in the object
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr", splv = "expr_cat",
maxsplit = 4)
stratiflevels(cobraperf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.