MinMaxGC | R Documentation |
Returns the maxima and minima of the input values.
max_gc(..., na.rm = TRUE, allmissing_NA = TRUE)
min_gc(..., na.rm = TRUE, allmissing_NA = TRUE)
... |
numeric or character arguments |
na.rm |
a logical indicating whether missing values should be removed. |
allmissing_NA |
a logical indicating whether |
These functions are wrappers for min
and max
,
with the additional argument allmissing_NA
.
If allmissing_NA = FALSE
, identical to min
or
max
.
If allmissing_NA = TRUE
, identical to min
or
max
except that, in cases where min
or
max
would return an infinite value and raise a warning because
there are no non-missing arguments, min_gc
and
max_gc
return NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.