pop_total: Population total

View source: R/cap02-conceitos.R

pop_totalR Documentation

Population total

Description

Computes the population total X_T = \sum_{i=1}^{N} X_i (course notes, Eq. 2.2).

Usage

pop_total(x, ...)

Arguments

x

Numeric vector with the full population values.

...

Ignored. Present so that extra, unrelated arguments can be passed without causing an error (see package overview).

Value

A sampling_result object with the population total.

References

Cochran, W.G. (1977). Sampling Techniques, 3rd ed. Wiley.

Examples

pop_total(c(1, 2, 3, 4, 5))

sampleone documentation built on Oct. 13, 2026, 5:07 p.m.