subset-performance_metrics | R Documentation |
You can subset performance_metrics by identifier or by position
using the `[`
operator.
## S4 method for signature 'performance_metrics,missing,missing,missing' x[i, j, ..., drop = FALSE] ## S4 method for signature 'performance_metrics,numeric,missing,missing' x[i, j, ..., drop = FALSE] ## S4 method for signature 'performance_metrics,character,missing,missing' x[i, j, ..., drop = FALSE]
x |
A performance_metrics object. |
i |
Position of the identifier or the name of the identifier itself. |
j |
Not used. |
... |
Additional arguments not used here. |
drop |
Not used. |
A performance_metrics object.
# Get a few performance metrics: my_ppm <- get_performance_metrics(sprintf('PPM%06d', 38:42)) # # Subsetting by position # my_ppm[c(1, 4)] # # Subsetting by performance metrics identifier (character) # my_ppm['PPM000042']
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.