The code you have shared is not reproducible, and you didn't wait for the image to finish uploading so we can't see it either, so I'm guessing here, but I think this what you are trying to do.
library(ggplot2)
counts <- data.frame(type = c('C','M','N'),
respiratory_rate_mean = c(18.667,19.167,19))
ggplot(counts, aes(x = type, y = respiratory_rate_mean)) +
geom_col() +
labs(title = 'Respiratory Rate Mean vs Nicotine Type',
x = 'Nicotine Type',
y = 'Average Respiratory Rate')
Thank you for spending the time to explain it to me!!! Assignment due tomorrow
Also I have another question, for the life of me I can't figure out how to get a scatter plot, none of things on google will give me a scatter plot. I'm even trying to download packages.
thanks