In R, a barplot is computed using the barplot function. Here is the most basic example you can do. The input data is a numeric vector, which gives the height of the bars. It can be a column of a dataframe. Please consult this page and this one to learn how to custom a barplot.

Not what you are looking for ? Make a new search !


Leave a Reply

Notify of