Skip to content

Instantly share code, notes, and snippets.

@monogenea
Created October 7, 2019 18:30
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 monogenea/d050befb17fc99565a6c901160033e34 to your computer and use it in GitHub Desktop.
Save monogenea/d050befb17fc99565a6c901160033e34 to your computer and use it in GitHub Desktop.
# Overview of the variables
par(mfrow = c(2,4))
barplot(table(reg), ylab = "Frequency", main = "Region")
barplot(table(popu), ylab = "Frequency", main = "Population")
barplot(table(gen), ylab = "Frequency", las = 2, main = "Genotype")
barplot(table(rack), ylab = "Frequency", main = "Rack")
barplot(table(nutrient), ylab = "Frequency", main = "Nutrient")
barplot(table(amd), ylab = "Frequency", main = "AMD")
barplot(table(status), ylab = "Frequency", main = "Status")
hist(total.fruits, col = "grey", main = "Total fruits", xlab = NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment