MaxsAndMins | R Documentation |
Find out how much new data extrapolates the model data
MaxsAndMins(newdata, data)
newdata |
a tibble with new data, *i.e.* prediction data |
data |
a data frame |
a data frame with the newdata values above max or below min original data
dados <- st_drop_geometry(centro_2015)
fit <- lm(log(valor) ~ ., data = dados)
newdata <- new_data(fit)
MaxsAndMins(newdata, dados)
newdata[1, "area_total"] <- 600
newdata[2, "dist_b_mar"] <- 30
MaxsAndMins(newdata, dados)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.