AUTO_VI$get_data {autovi}R Documentation

Get data out of a model object

Description

This function gets the data out of a model object by using stats::model.frame() if self$data is NULL.

Usage

AUTO_VI$get_data(fitted_model = self$fitted_model)

Arguments

fitted_model

Model. A model object, e.g. lm.

Value

A tibble.

Examples


my_vi <- auto_vi(fitted_model = lm(speed ~ dist, data = cars))
my_vi$get_data()

[Package autovi version 0.4.0 Index]