Column r col.name

Plots

# Histogram
ggplot(data = df, aes(x= col)) +
  geom_histogram(aes(col), na.rm = T)+
  xlab(col.name)+
  ylab("Number")+
  ggtitle(paste("Distribution of", col.name))+
  theme_bw()
# Boxplot
ggplot(data = df, aes(x = col.name, y = col)) +
  geom_boxplot() +
  coord_flip()


jansim/WizRd documentation built on May 24, 2019, 4:06 a.m.