Learn R Programming

WMAP (version 1.1.0)

print.balancing_weights: Print method for objects of class 'balancing_weights'

Description

Print method for objects of class 'balancing_weights'

Usage

# S3 method for balancing_weights
print(x, ...)

Value

Print values of the 'balancing_weights' object, including:

Weight length

The total number of weights.

percentESS

Percentage sample effective sample size (ESS) for the pseudo-population.

Arguments

x

An object of class 'balancing_weights'

...

Additional arguments affecting the printed results (so far no additional arguments are needed, so leave blank).

Examples

Run this code
data(demo)
output1 <- balancing.weights(S, Z, X, method = "IC", naturalGroupProp)
print(output1)

Run the code above in your browser using DataLab