glebas3 | R Documentation |
A tibble containing a sample of 17 large parcels within differents urban contexts.
glebas3
A tibble with 17 rows and 5 variables:
R: id
VU: unitary value per sq. meters
AT: land area, in sq. meters
ACESSO: dummy variable that indicates if the area is direct reachble or not
SUP: dummy variable that indicates if the area was landfilled
data(glebas3)
fit <- lm(log(VU) ~ I(AT^-1) + ACESSO + SUP, data = glebas3)
library(effects)
plot(predictorEffects(fit, residuals = T), id = T,
axes = list(
grid = TRUE,
x = list(rotate=30),
y = list(transform=list(trans=log, inverse=exp), lab = "VU")
))
powerPlot(fit, axis="inverted", smooth = TRUE, methods = c("lm", "loess"))
p <- predict(fit, newdata = list(AT = 60000, ACESSO = factor(0),
SUP = factor(1)),
interval = "confidence", level = .80
)
exp(p)
amplitude(exp(p)) # very good!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.