Learn R Programming

specmine (version 1.0)

linreg_rsquared: Linear regression r-squared

Description

Gets the linear regression r-squared values.

Usage

linreg_rsquared(linreg.results, write.file = F, file.out = "linreg-rsquared.csv")

Arguments

linreg.results
Linear regression results from linreg.all.vars function.
write.file
boolean value to indicate if a file should be written with the results.
file.out
name of the file.

Value

Returns a data.frame with the r-squared values.

Examples

Run this code
## Not run: 
#   ## Example of linear regression rsquared values and the adjusted 
#   ## rsquared values
#   linreg.rsquared.tab = linreg_rsquared(linreg.results)
# ## End(Not run)

Run the code above in your browser using DataLab