max2 | R Documentation |
Returns the (regular or parallel) maxima and minima of the input values. For numeric NAs, it returns NA instead of Inf or -Inf.
max2(..., na.rm = FALSE)
min2(..., na.rm = FALSE)
... |
numeric or character arguments |
na.rm |
a logical indicating whether missing values should be removed. |
max2(c(NA), na.rm=TRUE)
max(c(NA), na.rm=TRUE)
min2(c(NA), na.rm=TRUE)
min(c(NA), na.rm=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.