condvis-package {condvis}R Documentation

Conditional Visualization for Statistical Models


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 Source code is available to browse at GitHub. Bug reports and feature requests are very welcome at GitHub.


Package: condvis
Type: Package
Version: 0.5-1
Date: 2018-09-13
License: GPL (>= 2)


Mark O'Connell <>, Catherine Hurley <>, Katarina Domijan <>.


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:>.


## Not run: 
mtcars$cyl <- as.factor(mtcars$cyl)
mtcars$am <- as.factor(mtcars$am)

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)

[Package condvis version 0.5-1 Index]