xref: https://discourse.julialang.org/t/why-are-missing-values-not-ignored-by-default/106756
There are some users who dislike mean(skipmissing(x)) because they view it as too verbose or too many keystrokes. Aggregation functions that skip missing values are very commonly needed, so I think it would be worth adding convenience skip-missing methods for Base aggregation functions to Missings.jl, e.g.
The svar and scor functions could have a keyword argument to control exactly how missing values are skipped, similar to cor in R.
xref: https://discourse.julialang.org/t/why-are-missing-values-not-ignored-by-default/106756
There are some users who dislike
mean(skipmissing(x))because they view it as too verbose or too many keystrokes. Aggregation functions that skip missing values are very commonly needed, so I think it would be worth adding convenience skip-missing methods for Base aggregation functions to Missings.jl, e.g.smeanssumsvarscorThe
svarandscorfunctions could have a keyword argument to control exactly how missing values are skipped, similar tocorin R.