glebas | R Documentation |
A tibble containing a sample of 19 large parcels.
glebas
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
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")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.