summary.regress | R Documentation |
Summary method for the regress function
## S3 method for class 'regress'
summary(object, sum_check = "", conf_lev = 0.95, test_var = "", dec = 3, ...)
object |
Return value from |
sum_check |
Optional output. "rsme" to show the root mean squared error and the standard deviation of the residuals. "sumsquares" to show the sum of squares table. "vif" to show multicollinearity diagnostics. "confint" to show coefficient confidence interval estimates. |
conf_lev |
Confidence level used to estimate confidence intervals (.95 is the default) |
test_var |
Variables to evaluate in model comparison (i.e., a competing models F-test) |
dec |
Number of decimals to show |
... |
further arguments passed to or from other methods |
See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
regress
to generate the results
plot.regress
to plot results
predict.regress
to generate predictions
result <- regress(diamonds, "price", c("carat", "clarity"))
summary(result, sum_check = c("rmse", "sumsquares", "vif", "confint"), test_var = "clarity")
result <- regress(ideal, "y", c("x1", "x2"))
summary(result, test_var = "x2")
ideal %>%
regress("y", "x1:x3") %>%
summary()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.