Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bar plot

  • barplot
distances = c(11, 15, 7, 23, 9)
barplot(distances)

barplot(c(2, 3, 7, 1))
data <- rnorm(100)
barplot(data)
barplot(c(2, 3, 7, 1))

data <- rnorm(100)
barplot(data)