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 -- View this message in context: http://www.nabble.com/var-function-tp17239936p17239936.html Sent from the R help mailing list archive at Nabble.com.
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 >