varp: Variance

Description Usage Arguments Details Value See Also Examples

View source: R/varp.R

Description

Compute the variance of x.

Usage

1
varp(x)

Arguments

x

a numeric vector.

Details

Compute the variance of x using n (instead of n-1 as in var) in the denominator.

Value

An object with the variance of x.

See Also

var

Examples

1
2
3
x<- rnorm(100)
varp(x)
var(x)

optimStrat documentation built on Nov. 11, 2020, 5:07 p.m.