is.applicable.hf: Test Applicability of Hedonic Function to Data

Description Usage Arguments Details Value Author(s) See Also

View source: R/hepi.R

Description

This function tests whether a "hedonic.function" object is applicable to a given data set.

Usage

1

Arguments

hf

an object of class "hedonic.function"

data

a named list or data frame

Details

Hedonic functions are usually estimated for a very specific data structure and cannot be applied to other situations. This function checks whether the given hedonic function hf is applicable to a certain data set data. This is done by checking whether data contains at least the variables mentioned in the slot characteristics.names of the object hf of class "hedonic.function".

Value

is.applicable.hf returns TRUE if data is suitable for hf and FALSE otherwise.

Author(s)

Michael Beer r-hepi@michael.beer.name

See Also

hedonic.function-class, hedonic.function


hepi documentation built on May 2, 2019, 6:17 p.m.