tests/test.plotmo.R

# test.plotmo.R
# This does a basic sanity test of plotmo.
# For more comprehensive tests, see plotmo/inst/slowtests.
library(plotmo)
library(rpart)
data(kyphosis)
rpart.model <- rpart(Kyphosis~., data=kyphosis)
plotmo(rpart.model, type="vec", trace=1)

Try the plotmo package in your browser

Any scripts or data that you put into this service are public.

plotmo documentation built on May 22, 2022, 1:05 a.m.