| maxsplit {iCOBRA} | R Documentation |
maxsplit slotAccessor and replacement functions for the maxsplit slot in a
COBRAPerformance or COBRAPlot object.
maxsplit(x, ...) maxsplit(x, ...) <- value ## S4 method for signature 'COBRAPerformance' maxsplit(x) ## S4 replacement method for signature 'COBRAPerformance,numeric' maxsplit(x) <- value ## S4 replacement method for signature 'COBRAPlot,numeric' maxsplit(x) <- value
x |
A |
... |
Additional arguments. |
value |
A numeric value giving the maximal number of strata to retain. |
The accessor function returns a numeric value giving the maximal number of strata to retain.
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr", splv = "expr_cat",
maxsplit = 3)
maxsplit(cobraperf)