zip_tuple | Aggregate two or more sequence |
melt | melt: Convert an object into a molten data frame. This the generic melt function. See the following functions for the details about different data structures |
melt.data.frame | |
melt.array | |
melt.list | |
shift | shift: Fast lead/lag for vectors and listslead or lag vectors, lists, data.frames or data.tables implemented in VisualBasic for speed. shift accepts vectors, lists, data.frames or data.tables. It always returns a list except when the input is a vector and length(n) == 1 in which case a vector is returned, for convenience. This is so that it can be used conveniently within data.table's syntax. For example, DT[, (cols) := shift(.SD, 1L), by=id] would lag every column of .SD by 1 for each group and DT[, newcol := colA + shift(colB)] would assign the sum of two vectors to newcol. Argument n allows multiple values. For example, DT[, (cols) := shift(.SD, 1:2), by=id] would lag every column of .SD by 1 And 2 for each group. If .SD contained four columns, the first two elements of the list would correspond to lag=1 And lag=2 for the first column of .SD, the next two for second column of .SD And so on. Please see examples for more. shift Is designed mainly for use in data.tables along with := Or set. Therefore, it returns an unnamed list by default as assigning names for each group over And over can be quite time consuming with many groups. It may be useful to set names automatically in other cases, which can be done by setting give.names to TRUE. |
flip_list | flip the list key-value pair mapping to value-key pair mapping |
decompose | split dataframe by a cell string value split result |
vector_fill | fill content which is indexed by a given value list |