[[.disk.frame | R Documentation |
[[ interface for disk.frame using fst backend
## S3 method for class 'disk.frame'
df[[
...,
keep = NULL,
rbind = TRUE,
use.names = TRUE,
fill = FALSE,
idcol = NULL
]]
df |
a disk.frame |
... |
same as data.table |
keep |
the columns to srckeep |
rbind |
Whether to rbind the chunks. Defaults to TRUE |
use.names |
Same as in data.table::rbindlist |
fill |
Same as in data.table::rbindlist |
idcol |
Same as in data.table::rbindlist |
cars.df = as.disk.frame(cars)
speed_limit = 50
cars.df[[speed < speed_limit ,.N, cut(dist, pretty(dist))]]
# clean up
delete(cars.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.