new_data: Builds 'newdata' argument to be used in predict.lm

View source: R/helpers.R

new_dataR Documentation

Builds newdata argument to be used in predict.lm

Description

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

Usage

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)

lfpdroubi/appraiseR documentation built on April 14, 2024, 10:27 p.m.