Main Plot Functions |
|
---|---|
alluvial plot of data in long format |
|
create model response plot |
|
create model response plot for caret models |
|
create model response plot for parsnip models |
|
alluvial plot of data in wide format |
|
Add Plot Elements |
|
add bar plot of important features to model response alluvial plot |
|
add marginal histograms to alluvial plot |
|
Generate Data for Model Response and Partial Dependence Plots |
|
calculate data space |
|
get predictions compatible with the partial dependence plotting method |
|
get predictions compatible with the partial dependence plotting method, sequential variant that only works for numeric predictions. |
|
Helper Functions - Data Manipulation |
|
bin numerical columns |
|
converts factor to numeric preserving numeric levels and order in character levels. |
|
tidy up dataframe containing model feature importance |
|
check if package is installed |
|
Helper Functions - Plotting |
|
plot marginal histograms of alluvial plot |
|
Plot dataframe condensation potential |
|
plot histogram of alluvial plot variable |
|
plot feature importance |
|
Helper Functions - Color Palette |
|
color filters for any vector of hex color values |
|
increases length of palette by repeating colours |
|
plot colour intensity of palette |
|
plot rgb values of palette |
|
compose palette from qualitative RColorBrewer palettes |
|
Data Sets |
|
mtcars dataset with cyl, vs, am ,gear, carb as factor variables and car model names as id |
|
titanic data set' |
|
Quarterly mean arrival delay times for a set of 402 flights |
|
Quarterly mean relative sunspots number from 1749-1983 |