In R, mean has a couple of options. You can elect to exclude NA values, which can occur in lists you get from any source. You can also 'trim' a portion of the values off to resolve outliers (outliers become the nearest limit value).
R Example
> lst <- c(1,3,5)
> mean(lst)
[1] 3
No comments:
Post a Comment
Please help to combat malicious use of the Internet.