fm.table | R Documentation |
fm.table
counts the number of occurences of each unique value
in a FlashR vector.
fm.table(x) ## S4 method for signature 'fm.table' as.vector(x) ## S4 method for signature 'fm.table' as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
a FlashR vector or a "table" object for |
a table object.
valThe unique values in the vector.
FreqThe number of occurences of each unique value.
vec <- as.integer(fm.runif(1000, min=0, max=10)) tbl <- fm.table(vec) cnts <- as.vector(tbl) df <- as.data.frame(tbl)