Description Usage Arguments Value Examples
View source: R/tweaked_functions.R
No NA -Inf Min Returns a min value ignoring NAs while calculating the min and replacing -Inf with NA (which occurs if the min is taken from only NA vales while setting na.rm = T)
1 |
x |
A vector |
Either a Number of NA
1 2 3 | min_noNA_noInf(c(1,2))
min_noNA_noInf(c(NA,1))
min_noNA_noInf(c(NA,NA))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.