Description Usage Arguments Details Author(s) See Also Examples
This function evaluates R expressions within the environment of an object of class "hedonic.function"
.
1 | analyse.in.hf(expr, hf)
|
expr |
the expression to be evaluated |
hf |
an object of class |
Hedonic functions are often predictions from a regression model. This function allows to easily access the elements in the environment of the hedonic function for further analysis.
Michael Beer r-hepi@michael.beer.name
hedonic.function-class
, hedonic.function
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(boston, package="spdep")
hf0 <- build.hf.lm(
learndata = boston.c,
full.formula = log(MEDV) ~ CRIM + ZN + INDUS + CHAS +
I(NOX^2) + I(RM^2) + AGE + log(DIS) + log(RAD) + TAX +
PTRATIO + B + log(LSTAT),
backtrans = exp,
rm.infl = FALSE,
description = NULL,
return.row.labels = FALSE,
allow.variable.selection = FALSE)
analyse.in.hf(ls(), hf0)
analyse.in.hf(summary(learndata), hf0)
analyse.in.hf(summary(hf.model), hf0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.