powered by
Compute the variance of x.
x
varp(x)
a numeric vector.
An object with the variance of x.
Compute the variance of x using \(n\) (instead of \(n-1\) as in var) in the denominator.
var
# NOT RUN { x<- rnorm(100) varp(x) var(x) # }
Run the code above in your browser using DataLab