PointEstimates: Weighted Point Estimates

Description Usage Arguments Details Value Examples

Description

Predefined functions for weighted point estimates in package surveysd.

Usage

1
2
3

Arguments

x

numeric vector

w

weight vector

Details

Predefined functions are weighted ratio and weighted sum.

Value

Each of the functions return a single numeric value

Examples

1
2
3
4
5
6
x <- 1:10
w <- 10:1
weightedRatio(x,w)
x <- 1:10
w <- 10:1
weightedSum(x,w)

surveysd documentation built on Jan. 13, 2021, 4:11 p.m.