R/Rsquare.R

Defines functions Rsquare

# function that computes R-squared and adjusted R-squared for a given dataset and linear regression formula
Rsquare <- function(variables, coef, data){
  data = data[, names(data)%in%variables]
  
  return(0)
}

Try the CorReg package in your browser

Any scripts or data that you put into this service are public.

CorReg documentation built on Feb. 20, 2020, 5:07 p.m.