See the 'variance' function in ifultools package. If you'd like the unbiased estimate of the variance, just use 'var' without the extra argument.

Best,
Erik Iverson

Applejus wrote:
Hello,

I am trying to convert this splus line of code to R :
var(outcome[1, ], unbiased = FALSE)

It seems the var function in R doesn't have the "unbiased" argument. Could
someone help me figure the correct equivalent line in R?
Thank you


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to