Learn R Programming

condvis: Conditional Visualisation for Statistical Models

Interactively exploring fitted models

Interactively take 2-D and 3-D sections in data space, showing where fitted
models intersect the section, and observed data near the section according to
a distance measure. See package website for examples.

Works on Windows, Mac OS and Linux.

Requirements:

  • Windows: the standard graphics device is sufficient.
  • Mac OS: XQuartz device, website
  • Linux: X11, included in some distributions.

Installation:

install.packages("condvis")

Example to get started:

library(condvis)
data(mtcars)
m <- lm(mpg ~ wt + hp, data = mtcars)
ceplot(data = mtcars, model = m, sectionvars = "hp")

Copy Link

Version

Install

install.packages('condvis')

Monthly Downloads

208

Version

0.5-1

License

GPL (>= 2)

Maintainer

Last Published

September 13th, 2018

Functions in condvis (0.5-1)

interpolate

Interpolate
condvis-package

Conditional Visualization for Statistical Models
plotxc

Condition selector plot
cont2color

Assign colours to numeric vector
savingby2d

Assess advantage of 2-D view over 1-D view for identifying extrapolation
crab

Brockmann's crab data
arrangeC

Make a list of variable pairings for condition selecting plots produced by plotxc
ceplot

Interactive conditional expectation plot
similarityweight

Calculate the similarity weight for a set of observations
factor2color

Assign colours to factor vector
dist1

Minkowski distance
plotxc.pcp

Condition selector plot
wine

Italian wine data
condtour

Conditional tour; a tour through sections in data space
plotxs

Visualise a section in data space
powerplant

Tuefekci's powerplant data
makepath

Make a default path for conditional tour