xia*_*dai 4 linear-regression julia
using RDatasets
cars = dataset("datasets", "cars")
m1 = lm(@formula(Dist~Speed), cars)
Run Code Online (Sandbox Code Playgroud)
Now how do I extract the R^2 of m1? I tried summary(m1) and it didn't contain the information.