getFunctionValueOrDefault | R Documentation |
Take the function value or a default value if the function value is NA
getFunctionValueOrDefault(values, FUN, default, warningMessage = NA)
values |
vector of values given to |
FUN |
function to which values are passed and which offers the argument "na.rm" |
default |
default value to be returned if all values are NA |
warningMessage |
Warning message given if the default was taken |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.