How can I create a density graph of seed size data?

how can I create a density graph of seed size data? X is seed size rank-size (0.2, 0.3mm ....) and y is the number of seeds in every rank

#I used this code but does not work
ggplot(data, aes(x= seeds rank, y= seeds number)) +
geom_density()

See the FAQ: How to do a minimal reproducible example reprex for beginners.

From the quoted lines, it appears you have embedded blanks in variable names Use seed_size, rank_size

Thank you so much for your reply!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.