powered by
A histogram for a discrete variable is basically a bar chart with no space between the bars.
histDiscrete(x, data, ...)
A character string giving the name of the variable to be plotted.
A data frame in which x can be found.
x
Not implemented
A ggplot.
ggplot
# NOT RUN { data(alberta) alberta$k3c <- ifelse(alberta$k3c > 11, NA, alberta$k3c) histDiscrete("k3c", alberta) # }
Run the code above in your browser using DataLab