Run any function with a maximum missing fraction of X and 0s possibly
counting as missing. The maximum fraction missing comes from
PKNCA.options("max.missing")
.
Source: R/002-pk.business.rules.R
pk.business.Rd
Note that all missing values are removed prior to calling the function.
Arguments
- FUN
function to run. The function is called as
FUN(x, ...)
with missing values removed.- zero.missing
Are zeros counted as missing? If
TRUE
then include them in the missing count.- max.missing
The maximum fraction of the data allowed to be missing (a number between 0 and 1, inclusive).