Learn R Programming

specmine (version 2.0.3)

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)
# }

Run the code above in your browser using DataLab