| 12-Extremes | R Documentation |
Min-Max functions for MPCR objects values and indices, all NA values are disregarded.
## S4 method for signature 'Rcpp_MPCR'
min(x)
## S4 method for signature 'Rcpp_MPCR'
max(x)
## S4 method for signature 'Rcpp_MPCR'
which.min(x)
## S4 method for signature 'Rcpp_MPCR'
which.max(x)
x |
An MPCR object. |
Min/max value/index.
library(MPCR)
x <- as.MPCR(1:20,precision="double")
min <-min(x)
min_idx <-which.min(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.