get_evaluations: Get model evaluations

Description Usage Arguments Value Examples

Description

This function wraps around evaluate_model() and returns a list that contains model_evaluation and model_coefficients dataframes.

Usage

1
get_evaluations(fitted_model, data, ID)

Arguments

fitted_model

- glm model. Output of fit_model() function (or glm() function in that matter). Any model of class "glm".

data

- data for modeling. Output of format_data() function. List with "evaluation_data" slot.

ID

- model_id for the current model. Stored in a variable. Region + category

Value

List with two dataframes.

Examples

1
None.

MirzaCengic/LUpak documentation built on July 18, 2019, 3:06 a.m.