Learn R Programming

UncDecomp (version 1.0.1)

var0: Variance(DEPRECATED)

Description

This function returns the population variance of a given vector.

Usage

var0(x)

Arguments

x

a numeric vector.

Value

the population variance of a given vector

Examples

Run this code
# NOT RUN {
(x <- rnorm(5))
# var0() is deprecated. Use U_var()
# var0(x)
# }

Run the code above in your browser using DataLab