powered by
restore data column with I() function
restoreData2(df)
A data.frame
fit=lm(mpg~I(cyl^(1/2))*am,data=mtcars) restoreData2(fit$model) fit=lm(mpg~sqrt(hp)*log(wt)*am,data=mtcars) restoreData2(fit$model)
Run the code above in your browser using DataLab