Description Usage Arguments Examples
S3 method of class autoBN
1 2 |
x |
An object of calss autoBN |
... |
Further arguments to be passed to plot_autoBN |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(acs,package="moonBook")
fit<- lm(EF ~ age+TG+sex,data=acs) ## age, sex donot need transformation
result=autoTransformFit(fit)
plot(result,fill="red")
plot(result,select=1:2,fill="blue")
plot(result,add.gam=TRUE)
plot(result,by=sex)
plot(result,add.gam=TRUE,by=sex,select=1)
plot(result,add.gam=TRUE,by=sex)
data("autotrader",package="bestNormalize")
autotrader$yearsold <- 2017 - autotrader$Year
fit<- lm(price ~ mileage + yearsold+status, data = autotrader)
result=autoTransformFit(fit)
plot(result,fill="red")
plot(result,add.gam=TRUE)
plot(result,add.gam=TRUE,select=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.