Description Usage Arguments Value Examples
Transforms Time Series Column of the dataframe to the matrix with specified number of columns. Number of rows will be automatically found. Eventually not complete last row will be discarded.
1  to_m(x, n_cols)

x 

n_cols 

matrix with specified amount of rows
1 2 3  library(magrittr)
library(lazytrade)
macd_m < seq(1:1000) %>% as.data.frame() %>% to_m(64)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.