powered by
frequencies(data,r.digits=1)
freq.table
data
table
xtabs
descriptive.table
prop.table
dat<-data.frame(rnorm(100)>0,trunc(runif(100,0,5))) ##rounding to 1 frequencies(dat) ##rounding to 4 frequencies(dat,4)
Run the code above in your browser using DataLab