Skip to contents

Generics

The S3 generics the r-causal ecosystem shares. Packages register methods on these rather than defining their own, so attaching several at once produces no masking.

ipw()
Inverse probability weighted estimation
ess()
Effective sample size
is_causal_wt() estimand() `estimand<-`()
Causal weight accessors

Shared classes

Constructors and helpers for the classes those generics return. Method authors build on these instead of writing a result or weight class of their own.

new_ipw() print(<ipw>) as.data.frame(<ipw>)
Construct an inverse probability weighted result
new_causal_wts()
Construct a causal weight vector
causal_wts_ptype2()
Common type of two causal weight vectors of the same class