You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion residual plots are suitable here.
ggfortify has a decent autoplot method for lm objects.
autoplot.LearnerRegrLM = function(object, ...) { # nolint
if (is.null(object$model)) {
stopf("Learner '%s' must be trained first", object$id)
}
if (is.null(object$model$model)) {
stopf("Learner '%s' must be trained with `keep_model` set to `TRUE`", object$id)
}
require_namespaces("ggfortify")
autoplot(object$model, ...)
}
No description provided.
The text was updated successfully, but these errors were encountered: