Analysis Of Categorical Data With R Page

: Standard bar plots can be created with base R's barplot() or the ggplot2 package using geom_bar() .

: Cross-tabulating two or more variables can be done with table() or the crosstab() function from the descr package . Data Visualization Analysis of categorical data with R

: Functions like factor() or as.factor() convert character vectors into categorical variables. : Standard bar plots can be created with