This function modifies the default behavior of dplyr::pull to extract the .weights column.

# S3 method for adjustr_weighted
pull(.data, var = ".weights", name = NULL, ...)

Arguments

.data

A table of data

var

A variable, as in pull. The default returns the .weights column, and if there is only one row, it returns the first element of that column

name

Ignored

...

Ignored