R4DS Ch. 23

add_predictions()

{modelr}

add predictions to a data frame

rpart()

{rpart}

compute recursive partitioning and regression trees

gam()

{mgcv}

compute generalized additive model

seq_range()

{modelr}

return sequence over the range of a vector

loess()

{stats}

apply local polynomial regression fitting

geom_ref_line()

{modelr}

add reference line to plot

spread_predictions()

{modelr}

add predictions and pivot wider

add_residuals()

{modelr}

add residuals to a data frame

model_matrix()

{modelr}

construct a design matrix

ns()

{splines}

generate basis matrix for natural cubic splines

optim()

{stats}

apply optimization algorithm

xgboost()

{sgboost}

computer gradient boosting models

randomForest()

{randomForest}

compute random forest model

glmnet()

{glmnet}

compute generalized linear model via penalized maximum likelihood

gather_predictions()

{modelr}

add predictions and pivot longer

poly()

{stats}

compute orthogonal polynomials

rlm()

{MASS}

compute robust linear model

glm()

{stats}

compute generalized linear model

data_grid()

{modelr}

generate a data grid

The end!