R4DS Ch. 23

randomForest()

{randomForest}

compute random forest model

gather_predictions()

{modelr}

add predictions and pivot longer

poly()

{stats}

compute orthogonal polynomials

ns()

{splines}

generate basis matrix for natural cubic splines

rlm()

{MASS}

compute robust linear model

model_matrix()

{modelr}

construct a design matrix

add_predictions()

{modelr}

add predictions to a data frame

optim()

{stats}

apply optimization algorithm

add_residuals()

{modelr}

add residuals to a data frame

rpart()

{rpart}

compute recursive partitioning and regression trees

loess()

{stats}

apply local polynomial regression fitting

data_grid()

{modelr}

generate a data grid

glm()

{stats}

compute generalized linear model

xgboost()

{sgboost}

computer gradient boosting models

geom_ref_line()

{modelr}

add reference line to plot

spread_predictions()

{modelr}

add predictions and pivot wider

glmnet()

{glmnet}

compute generalized linear model via penalized maximum likelihood

seq_range()

{modelr}

return sequence over the range of a vector

gam()

{mgcv}

compute generalized additive model

The end!