print.selmodel: Print results from a 'selmodel' object

View source: R/print.selmodel.R

print.selmodelR Documentation

Print results from a selmodel object

Description

Print relevant results from a fitted selmodel object.

Usage

## S3 method for class 'selmodel'
print(x, transf_gamma = TRUE, transf_zeta = TRUE, digits = 3, ...)

Arguments

x

fitted model of class "selmodel".

transf_gamma

logical with TRUE (the default) indicating that the heterogeneity parameter estimates (called gamma) should be transformed by exponentiating.

transf_zeta

logical with TRUE (the default) indicating that the selection parameter estimates (called zeta) should be transformed by exponentiating.

digits

minimum number of significant digits to be used, with a default of 3.

...

further arguments passed to print.data.frame().

Value

The method returns a data.frame containing parameter estimates, standard errors, p-values, and confidence intervals for model parameters.

Examples

res_ML <- selection_model(
  data = self_control,
  yi = g,
  sei = se_g,
  cluster = studyid,
  steps = 0.025,
  estimator = "CML",
  bootstrap = "none"
)

print(res_ML)
print(res_ML, transf_gamma = FALSE, transf_zeta = FALSE)
 

metaselection documentation built on Aug. 31, 2026, 5:08 p.m.