install.packages('highfrequency')data.table or xts object containing trades data´data.table or xts object containing quote dataxts object for the exchange hours onlyspreadPricesDBH objectsHARmodelDBH objectsHARmodel objectsmaxi times the median spreadHARmodel objectsrRVar