Usage Arguments Value Author(s) Examples
1 | xgroup(d, cols)
|
d |
A dataframe |
cols |
A character vector of column keys |
A list of dataframe
JFP
1 2 3 4 5 6 7 8 | d <- rbind(data.frame(date="20140101", ticker= 2, price=3),
data.frame(date="20140102", ticker= 2, price=2),
data.frame(date="20140101", ticker= 1, price=5))
d %>% xcols(c("ticker", "price"))
# xdesc, xcol, xcols
d %>% xdesc(c("date", "price"))
# xgroup and each
d %>% xgroup(c("date", "price"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.