build_hankel | R Documentation |
Create a Hankel matrix from a vector of measurements over time.
build_hankel(x, nrows = round(length(x)/2))
x |
A vector of measurements over time. |
nrows |
An integer; the number of shift-stacked rows. |
A Hankel matrix of x
with nrows
rows.
data(ECG_measurements)
xdat <- ECG_measurements[,"channel1"]
build_hankel(x = xdat, nrows = 25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.