get.weights function

Extract propensity score weights

Extract propensity score weights

Extracts propensity score weights from a ps.cont object.

get.weights(ps1, stop.method = "wcor", withSampW = TRUE)

Arguments

  • ps1: a ps.cont object
  • stop.method: indicates which set of weights to retrieve from the ps.cont object
  • withSampW: Returns weights with sample weights multiplied in, if they were provided in the original ps.cont call.

Returns

a vector of weights

Author(s)

Donna L. Coffman

See Also

ps.cont

  • Maintainer: Donna Coffman
  • License: GPL (>= 2)
  • Last published: 2021-02-26

Useful links