get_weights: Extract sample weights

View source: R/accessor.R

get_weightsR Documentation

Extract sample weights

Description

A generic function to extract sample weights from objects of class 'balancing_weights'

Usage

get_weights(object)

Arguments

object

An objects of class 'balancing_weights'.

Value

Empirically normalized sample weights.

Examples

data(demo)
output1 <- balancing.weights(S, Z, X, method = "IC", naturalGroupProp)
get_weights(output1)

WMAP documentation built on April 3, 2025, 8:55 p.m.

Related to get_weights in WMAP...