| ml_panel_reduce | R Documentation |
Folds a list of panels using ml_panel_op() across a set of named panels.
ml_panel_reduce(features, panels, op = `*`, how = "intersect", fill = NA_real_)
features |
List of panels (each a wide data frame with |
panels |
Character vector of names in |
op |
Binary function to apply elementwise. |
how |
Column-set policy passed to |
fill |
Fill value for |
A data.frame panel (wide) with the reduced result.
## Not run:
# product of three panels
prod_panel <- ml_panel_reduce(X, c("mom12","vol","rsi14"), op = `*`)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.