Print method for objects of class "regtest".

# S3 method for regtest
print(x, digits=x$digits, ret.fit=x$ret.fit, ...)

Arguments

x

an object of class "regtest".

digits

integer to specify the number of decimal places to which the printed results should be rounded (the default is to take the value from the object).

ret.fit

logical to specify whether the full results from the fitted model should also be returned. If unspecified, the default is to take the value from the object.

...

other arguments.

Details

The output includes:

  • the model used for the regression test

  • the predictor used for the regression test

  • the results from the fitted model (only when ret.fit=TRUE)

  • the test statistic of the test that the predictor is unreleated to the outcomes

  • the degrees of freedom of the test statistic (only if the test statistic follows a t-distribution)

  • the corresponding p-value

  • the ‘limit estimate’ and its corresponding CI (only for predictors "sei" "vi", "ninv", or "sqrtninv" and when the model does not contain any additional moderators)

Value

The function does not return an object.

Author

Wolfgang Viechtbauer wvb@metafor-project.org https://www.metafor-project.org

References

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1--48. https://doi.org/10.18637/jss.v036.i03

See also