Description Usage Arguments Value Examples
Function extracts the t-values from an lm
object as given by the summary
function.
1 2 3 4 5 6 7 | extract_tvalues(model, hide = NULL, se = "nid")
## S3 method for class 'lm'
extract_tvalues(model, hide = NULL, se = "nid")
## S3 method for class 'rq'
extract_tvalues(model, hide = NULL, se = "nid")
|
model |
Object of type |
hide |
A string. All variables starting with that name are excluded. If |
se |
Computation scheme for standard errors in case of a quantile regression. |
Vector of type numeric
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
x1 <- 1:100
x2 <- rep(c(1, 2), 50)
y <- x1 + x2 + rnorm(100)
m <- lm(y ~ x1 + x2)
extract_tvalues(m)
qr <- rq(y ~ x1 + x2)
extract_tvalues(m)
extract_tvalues(m, se = "ker")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.