| summary.regress {radiant.model} | R Documentation |
Summary method for the regress function
Description
Summary method for the regress function
Usage
## S3 method for class 'regress'
summary(object, sum_check = "", conf_lev = 0.95, test_var = "", dec = 3, ...)
Arguments
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 |
Details
See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
See Also
regress to generate the results
plot.regress to plot results
predict.regress to generate predictions
Examples
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()
[Package radiant.model version 1.6.6 Index]