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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.