index_plot_lm_elements: Create plot elements for index_plot_lm
Description
Create plot elements for index_plot_lm
Usage
index_plot_lm_elements(model, stat)
Value
A list with elements x
, y
,
and z
.
Arguments
- model
A fitted model object from the
lm
function.
- stat
A function that can be applied to an lm
object and returns a vector of observations for each
observation used to fit the model.