var_pop: Variance (Population)

Description Usage Arguments See Also Examples

View source: R/basic_stats.R

Description

var_pop computes the variance of the values in x with the denominator value n, unlike the implementation as in var.

Usage

1

Arguments

x

vector, e.g. c(1,2,3,4)

See Also

sd_pop for its root and var for the default stats package variant with denominator n-1.

Examples

1
var_pop(c(1,2,3,4))

shunyao643/ab1202ay2021 documentation built on Feb. 26, 2021, 8:53 a.m.