facetted {iCOBRA} | R Documentation |
facetted
slotAccessor and replacement functions for the facetted
slot in an
COBRAPlot
object.
facetted(x, ...) facetted(x, ...) <- value ## S4 method for signature 'COBRAPlot' facetted(x) ## S4 replacement method for signature 'COBRAPlot,logical' facetted(x) <- value
x |
A |
... |
Additional arguments. |
value |
A logical value, indicating whether the object is formatted for facetted plots (visualizing each stratification level in a separate panel) or not. |
The accessor function returns a logical value, indicating whether the object is formatted for facetted plots (visualizing each stratification level in a separate panel) or not.
Charlotte Soneson
data(cobradata_example) cobraperf <- calculate_performance(cobradata_example, binary_truth = "status", aspects = "fdrtpr") cobraplot <- prepare_data_for_plot(cobraperf) facetted(cobraplot)