Builds a new data.frame containing only elements to be appraised from the current data.frame

new_data(object)

Arguments

object

object of class lm

Examples

dados <- st_drop_geometry(centro_2015) fit <- lm(log(valor) ~ ., data = dados) new_data(fit)
#> Error in eval(cl$data): object 'dados' not found