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