restoreData | R Documentation |
Restore factors in data.frame as numeric
restoreData(data)
data |
A data.frame |
fit=lm(mpg~factor(cyl)*factor(am),data=mtcars)
fit=lm(mpg~wt*factor(am),data=mtcars)
fit=lm(mpg~wt*hp,data=mtcars)
restoreData(fit$model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.