Suppose there are \(N\) equispaced returns on day \(t\) for the asset j and the index m. Denote \(r_{(j)i,t}\), \(r_{(m)i,t}\) as the \(i\)th return on day \(t\) for asset \(j\) and index \(m\) (with \(i=1, \ldots,N\)).
By default, the RCov is used and the realized beta coefficient is computed as:
$$
\hat{\beta}_{(jm)t}= \frac{\sum_{i=1}^{N} r_{(j)i,t} r_{(m)i,t}}{\sum_{i=1}^{N} r_{(m)i,t}^2}
$$
(Barndorff & Shephard (2004)).
Note: It is worth to note that the function does not support to calculate for data of multiple days.