Skip to contents

Fit MID models

interpret()
Fit MID Models

Methods

ggmid() autoplot(<mid>)
Plot MID Component Function with ggplot2
ggmid(<mids>) autoplot(<mids>)
Compare MID Component Functions with ggplot2
plot(<mid>)
Plot MID Component Function
plot(<mids>)
Compare MID Component Functions
predict(<mid>) predict(<mids>)
Predict Method for fitted MID Models
print(<mid>) print(<mids>)
Print MID Models
summary(<mid>) summary(<mids>)
Summarize MID Models

Combine MID objects

midlist() as.midlist()
Combine MID Objects

Methods

Importance of effects

mid.importance()
Calculate MID Importance

Methods

ggmid(<midimp>) autoplot(<midimp>)
Plot MID Importance with ggplot2
ggmid(<midimps>) autoplot(<midimps>)
Compare MID Importances with ggplot2
plot(<midimp>)
Plot MID Importance
plot(<midimps>)
Compare MID Importances

Breakdown of predictions

mid.breakdown()
Calculate MID Breakdown

Methods

ggmid(<midbrk>) autoplot(<midbrk>)
Plot MID Breakdown with ggplot2
ggmid(<midbrks>) autoplot(<midbrks>)
Compare MID Breakdowns with ggplot2
plot(<midbrk>)
Plot MID Breakdown
plot(<midbrks>)
Compare MID Breakdowns

Conditional expectations

mid.conditional()
Calculate MID Conditional Expectation

Methods

ggmid(<midcon>) autoplot(<midcon>)
Plot MID Conditional Expectation with ggplot2
ggmid(<midcons>) autoplot(<midcons>)
Compare MID Conditional Expectations with ggplot2
plot(<midcon>)
Plot MID Conditional Expectation
plot(<midcons>)
Compare MID Conditional Expectations

Other functions

get.link()
Extended Parametric Link Functions
get.yhat()
Wrapper Prediction Function
term.effect() term.f()
Evaluate Single Component Functions of Additive Models
term.labels()
Extract and Filter Term Labels
weighted.loss()
Weighted Loss Function

Color themes

color.theme() is.color.theme()
Color Themes for Graphics
color.theme.register() set.color.theme()
Register Color Themes
color.themes()
Retrieve Color Theme Information
scale_color_theme() scale_colour_theme() scale_fill_theme()
Color Theme Scales for ggplot2 Graphics
to.colors()
Map Values to Colors using Color Themes

Variable encoders

factor.encoder() factor.frame()
Encoder for Qualitative Variables
numeric.encoder() numeric.frame()
Encoder for Quantitative Variables

Miscellaneous

midr.options() midr.par()
Set or Get Global Options for the midr Package
shapviz(<mid>)
Calculate MID-Derived Shapley Values
theme_midr()
Default Plotting Themes