Skip to content

Instantly share code, notes, and snippets.

@toyeiei
Created August 15, 2019 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toyeiei/5b1bf58038e5039287939a734fb84666 to your computer and use it in GitHub Desktop.
Save toyeiei/5b1bf58038e5039287939a734fb84666 to your computer and use it in GitHub Desktop.
R4Excel - basic graphics
## histogram
hist(df$age, breaks = 3)
## barplot
barplot(table(df$nationality))
## scatter plot
plot(df$age, df$gpa, pch = 16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment