Is there something like table R function in Julia? I read about xtab but don't know how to use it.
Suppose R is data.frame rdata , which col6 is of type Factor .
R code example:
rdata <- read.csv("mycsv.csv") #1 table(rdata$col6) #2
To read data and create factors in Julia, I do it like this:
using DataFrames jldata = readtable("mycsv.csv", makefactors=true) #1 :col6 will be now pooled.
... but how to build table R, as in julia (how to reach # 2)?
source share