[R] defining a function in the package boot

Wachtel, Mitchell Mitchell.Wachtel at ttuhsc.edu
Sun Oct 11 02:05:19 CEST 2009


Please assist me.
In the package "boot" is a term called "statistic".

what is the r syntax for the mean?

is it, given that the name will be AV:

AV <- function (d,x){mean(x*w)}



Thanks.


Mitchell Wachtel




More information about the R-help mailing list