Skip to contents

Component effects from a cpaic fit

Usage

component_effects(object, newdata = NULL, ...)

Arguments

object

A fitted cpaic object (cpaic_bridge, cpaic_maic, cpaic_stc, or cpaic_mlnmr).

newdata

For cmlnmr() fits: a one-row data frame giving the target population's effect-modifier values, at which the component effects beta + Gamma x are reported. With newdata = NULL (default) the component main effects beta are returned; these are the effects at the covariate origin and are not population-adjusted.

...

Passed to methods.

Value

A data frame of component effects (estimate, se, CI, p-value). Components that the design cannot identify are returned as NA.