wurmlab / SBC361-programming-in-R

QMUL's programming in R course
https://wurmlab.github.io/SBC361-programming-in-R/practical1.html
5 stars 11 forks source link

plot #47

Open yannickwurm opened 1 year ago

yannickwurm commented 1 year ago

of bank balance wants to replaced with ggplot (just give example command)

yannickwurm commented 1 year ago

library(ggplot2) pop_for_plotting <- data.frame(population_sizes, years = seq(from = 1, to = 20)) ggplot(pop_for_plotting) + geom_point(aes(y = population_sizes, x = year))