restoreData: Restore factors in data.frame as numeric

Description Usage Arguments Examples

View source: R/ggPredict.R

Description

Restore factors in data.frame as numeric

Usage

1

Arguments

data

A data.frame

Examples

1
2
3
4
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)

predict3d documentation built on Sept. 3, 2019, 5:06 p.m.