# NOT RUN {
# categorical data
ds_freq_table(mtcarz, cyl)
# barplot
k <- ds_freq_table(mtcarz, cyl)
plot(k)
# continuous data
ds_freq_table(mtcarz, mpg)
# barplot
k <- ds_freq_table(mtcarz, mpg)
plot(k)
# }
Run the code above in your browser using DataLab