condvis-package {condvis} | R Documentation |
Conditional Visualization for Statistical Models
Description
Exploring statistical models by interactively taking 2-D and 3-D sections in
data space. The main functions for end users are ceplot
(see
example below) and condtour
. Requires
XQuartz on Mac OS, and X11 on Linux. A website
for the package is available at
markajoc.github.io/condvis. Source code is available to browse at
GitHub. Bug reports and feature
requests are very welcome at
GitHub.
Details
Package: | condvis |
Type: | Package |
Version: | 0.5-1 |
Date: | 2018-09-13 |
License: | GPL (>= 2) |
Author(s)
Mark O'Connell <mark_ajoc@yahoo.ie>, Catherine Hurley <catherine.hurley@mu.ie>, Katarina Domijan <katarina.domijan@mu.ie>.
References
O'Connell M, Hurley CB and Domijan K (2017). “Conditional Visualization for Statistical Models: An Introduction to the condvis Package in R.”Journal of Statistical Software, 81(5), pp. 1-20. <URL:http://dx.doi.org/10.18637/jss.v081.i05>.
Examples
## Not run:
mtcars$cyl <- as.factor(mtcars$cyl)
mtcars$am <- as.factor(mtcars$am)
library(mgcv)
model1 <- list(
quadratic = lm(mpg ~ cyl + am + qsec + wt + I(wt^2), data = mtcars),
additive = gam(mpg ~ cyl + am + qsec + s(wt), data = mtcars))
ceplot(data = mtcars, model = model1, sectionvars = "wt")
## End(Not run)