facetted: Accessor and replacement functions for 'facetted' slot

Description Usage Arguments Value Author(s) Examples

Description

Accessor and replacement functions for the facetted slot in an COBRAPlot object.

Usage

1
2
3
4
5
6
7
8
9
facetted(x, ...)

facetted(x, ...) <- value

## S4 method for signature 'COBRAPlot'
facetted(x)

## S4 replacement method for signature 'COBRAPlot,logical'
facetted(x) <- value

Arguments

x

A COBRAPlot object.

...

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.

Value

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.

Author(s)

Charlotte Soneson

Examples

1
2
3
4
5
6
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "fdrtpr")
cobraplot <- prepare_data_for_plot(cobraperf)
facetted(cobraplot)

iCOBRA documentation built on April 17, 2021, 6:07 p.m.