I'm trying to make a histogram of my data with standard deviation; data which looks like this:
Time   Sample Measurement.1 Measurement.2 Measurement.3
0  Control       16.9117       16.8092       16.9567    
0    Yeast       16.9917       17.0497       17.0697    
0 Bacteria       16.9928       17.2786       16.9393    
3  Control       16.9116       16.8090       16.9559    
3    Yeast       16.9888       17.0488       17.0676    
3 Bacteria       16.9881       17.2780       16.9377
And my code is this:
library(ggplot2)
data = read.csv('Desktop/Meltem.csv')
cols = c(3, 4, 5)
data2 <- transform(data, mean1 = rowMeans(data[, cols]),
                   sd = apply(data[, cols], 1, sd))[, -(3:5)]
plot1 <- ggplot(data2, aes(x = mean1)) + 
    geom_histogram(binwidth = 1,color = "black", fill = "white")
The code gives me an empty graph. What would you suggest me to do?
 
     
    