glebas: Urban large parcels data

glebasR Documentation

Urban large parcels data

Description

A tibble containing a sample of 19 large parcels.

Usage

glebas

Format

A tibble with 19 rows and 4 variables:

  • R: id

  • Ficha: another id (unused)

  • VU: unitary value per sq. meters

  • Area: area, in sq. meters

Examples

data(glebas)
fit <- lm(rec(VU) ~ log(Area), data = glebas)
library(effects)
plot(predictorEffects(fit, residuals = T), id = T,
      axes = list(
        grid = TRUE,
        y=list(transform=list(trans=rec, inverse=rec), lab = "VU")
        )
     )
# Issue: Influential Point 4 (see also plot(fit))

# Solution:
fit1 <- update(fit, rec(VU)~log(Area), subset = -4)
plot(predictorEffects(fit1, residuals = T), id = T,
      axes = list(
        grid = TRUE,
        y=list(transform=list(trans=rec, inverse=rec), lab = "VU")
      )
    )

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