hpiR (version 0.2.0)

rtModel.robust: Repeat transaction model approach with robust estimator

Description

Use of robust estimator in repeat transactions model approach

Usage

# S3 method for robust
rtModel(rt_df, time_matrix, price_diff, estimator, ...)

Arguments

rt_df

Repeat transactions dataset from rtCreateTrans()

time_matrix

Time matrix object from rtTimeMatrix()

price_diff

Difference in price between the two transactions

estimator

Type of model to estimates (base, robust, weighted). Must be in that class.

...

Additional arguments

Further Details

See `?rtModel` for more information