h_ppmeans {tern} | R Documentation |
Function to return the estimated means using predicted probabilities
Description
For each arm level, the predicted mean rate is calculated using the fitted model object, with newdata
set to the result of stats::model.frame
, a reconstructed data or the original data, depending on the
object formula (coming from the fit). The confidence interval is derived using the conf_level
parameter.
Usage
h_ppmeans(obj, .df_row, arm, conf_level)
Arguments
obj |
( |
.df_row |
( |
arm |
( |
conf_level |
( |
Value
-
h_ppmeans()
returns the estimated means.