Skip to contents

Returns the weights a balancing result fitted, as a bw vector carrying the estimand they target. When sampling weights are present they are composed onto the balancing weights by default.

Arguments

object

A balancing result.

...

Ignored.

include_sampling_weights

Whether to multiply the balancing weights by the sampling weights. Defaults to TRUE.

Value

A bw vector of the same length as the data the fit was built from, in the same row order. It carries the estimand and no other metadata about the fit.