Summary method for the regress function

Description

Summary method for the regress function

Usage

1
2
3
## S3 method for class 'regress'
summary(object, sum_check = "", conf_lev = 0.95,
  test_var = "", dec = 3, ...)

Arguments

object

Return value from regress

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 http://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

1
2
3
4
5
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.