Exploring fitted models by interactively taking 2-D and 3-D sections in data space.
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.
Example to get started:
library(condvis)data(mtcars)m <- lm(mpg ~ wt + hp, data = mtcars)ceplot(data = mtcars, model = m, sectionvars = "hp")
Version 0.5-1 2018-09-13
Version 0.5-0 2018-09-01
arrangeCwould return pairs of the same variable if there were no bivariate relationships detected by
interpolate, with methods for standard data types.
Version 0.4-3 2017-10-19
xc.condto a vector and threw an error.
Version 0.4-2 2017-10-11
Version 0.4-0 2016-10-17
plotxchas been made optional, and also allows a cap on the bin counts, to allow for skewed data.
similarityweight, the weight values are no longer discretised. All values between 0 and 1 are allowed.
weightcolorused to weight colours using similarity weight.
pchto snapshot for
Version 0.3-5 2016-09-26
plotxc, can chop off long tails for scatterplot/2-d histogram, controlled by
ceplotcall. See parameter
ylimto be passed to section plot produced by
?similarityweight, sigma --> threshold.
condtourto be more like
ceplot, plus a hacky fix to
condtourproviding predictor values instead of mouseclicks.
condtour, where interpolated path omitted the final row. Also removed rownames from cluster centres.
plotapnow shows approximate proportion of data visible, rather than approximate number of observations visible.
Version 0.3-4 2016-08-04
marto be specified.
Version 0.3-3 2016-07-04
pchby condtour, was previously defaulting to 1 when it should have been 21 for background colours.
rsconnectpackage in Shiny application.
update.xsplotwhere the fitted model was not updating properly, due to the section information remaining static.
length.outwas omitted, causing huge delays for
Version 0.3-0 2016-07-01
similarityweightand changed parameter names.
condtourcan now handle mixed data (categorical and continuous).
Version 0.2-2 2016-05-01
Version 0.2-1 23 Feb 2016