corn327
The summary() command, run on raw data, such as byu$age, gives statistics, such as the mean
and median (these are also available through their own functions, mean and median). When run on
an ols object, summary gives important statistics about the regression, such as p-values and the R2.
怎么能知道一个data是ols object?