r.squared {plm} | R Documentation |
This function computes R squared or adjusted R squared for plm objects. It allows to define on which transformation of the data the (adjusted) R squared is to be computed and which method for calculation is used.
r.squared(object, model = NULL, type = c("cor", "rss", "ess"), dfcor = FALSE)
object |
an object of class |
model |
on which transformation of the data the R-squared it to
be computed. If |
type |
inicates method which is used to compute R squared. One of |
dfcor |
if |
A numerical value (R squared or adjusted R squared).