equacoes | R Documentation |
Givens a lm object, returns its regression equation
equacoes(
object,
type = c("reg", "est"),
inline = TRUE,
FUN,
accuracy = 100,
f = round,
errorTerm = TRUE
)
object |
object of class |
type |
the equation type required: regression (reg) or estimation (est). |
inline |
the equation mode. TRUE for inline equations or FALSE for displayed mode. |
FUN |
transformation applied to dependent variable. |
accuracy |
number to round to; for POSIXct objects, a number of seconds |
f |
rounding function: floor, ceiling or round |
data(centro_2015)
centro_2015 <- within(centro_2015, VU <- valor/area_total)
fit <- lm(log(VU) ~ log(area_total) + quartos + suites + garagens +
log(dist_b_mar) + padrao, centro_2015)
equacoes(fit)
equacoes(fit, accuracy = .01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.