[R] var function

Erik Iverson iverson at biostat.wisc.edu
Wed May 14 22:37:23 CEST 2008


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
>



More information about the R-help mailing list