Description Usage Arguments Value Author(s) Examples
Accessor function to extract the stratification levels that are represented
in a COBRAPerformance or COBRAPlot object.
1 2 3 4  | 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
1 2 3 4 5 6  | 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.