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