restoreData {predict3d} | R Documentation |
Restore factors in data.frame as numeric
Description
Restore factors in data.frame as numeric
Usage
restoreData(data)
Arguments
data |
A data.frame |
Examples
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)
[Package predict3d version 0.1.5 Index]