This function generates predictions from a model and calculates the errors between actual and predicted values, resulting in a dataframe containing the predicted values, actual values, and the residuals.
get_predict(modelo, datos, real, n = NULL)A data frame containing actual, predicted, and error values.
Fitted model object
Data frame containing predictor variables.
Vector of actual response values.
Number of digits to round the columns. Default