Description Usage Arguments Value Examples
Function is a customized interface to the texreg
function. It replaces
standard errors in the output by t-values.
1 | texreg_tvalues(model, hide = NULL, ...)
|
model |
Object of type |
hide |
A string. All variables starting with that name are excluded. If |
... |
Additional parameters that are passed to default |
Object of type texregTable
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | x1 <- 1:100
x2 <- rep(c(1, 2), 50)
y <- x1 + x2 + rnorm(100)
m <- lm(y ~ x1 + x2)
texreg_tvalues(m, digits = 4)
m2 <- lm(y ~ x1)
texreg_tvalues(list(m, m2))
library(quantreg)
data(stackloss)
qr25 <- rq(stack.loss ~ stack.x, 0.25)
qr50 <- rq(stack.loss ~ stack.x, 0.50)
qr75 <- rq(stack.loss ~ stack.x, 0.75)
texreg_tvalues(list(qr25, qr50, qr75))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.