powered by
Calculates the adjusted coefficient of determination of a multiple linear regression model.
adjR2(r2, n, p)
Numeric vector with the coefficient of determination to be adjusted.
Numeric vector providing the number of observations used to fit the multiple linear regression model.
Numeric vector providing the number of parameters included in the multiple linear regression model.
A numeric vector with the adjusted coefficient of determination.
Coefficient of determination. Wikipedia, The Free Encyclopedia. Available at https://en.wikipedia.org/wiki/Coefficient_of_determination.
# NOT RUN { x <- adjR2(r2 = 0.95, n = 100, p = 80) # }
Run the code above in your browser using DataLab