print.regtest | R Documentation |
Function to print objects of class "regtest"
.
## S3 method for class 'regtest'
print(x, digits=x$digits, ret.fit=x$ret.fit, ...)
x |
an object of class |
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. |
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)
The function does not return an object.
Wolfgang Viechtbauer (wvb@metafor-project.org, https://www.metafor-project.org).
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
regtest
for the function to create regtest
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.