Box plots in R
1
0
Entering edit mode
5.0 years ago

Am trying to create a grouped box plot using R, and this is the explanation of R gallery

https://www.r-graph-gallery.com/265-grouped-boxplot-with-ggplot2.html

I don't understand what "note" is referring to or how to apply it on my data, for example the Y axis in my data should represent phytohormones concentrations so how can I identify it? which numbers to use?

R box plot • 1.2k views
ADD COMMENT
1
Entering edit mode

the note column is the data they are plotting. Look at the dataframe (called data) and get your data in the same format. Then you can copy their code to plot. If you post a snippet of your data (properly formatted of course) then I can help plot using ggplot2.

ADD REPLY
0
Entering edit mode

I figured it out many thanks, can you help in how to represent the error bars in box plots?

ADD REPLY
2
Entering edit mode
5.0 years ago
zx8754 12k

Replace note with whatever column name you are using for phytohormones concentrations in your data.

ADD COMMENT
0
Entering edit mode

I figured it out thanks a lot!

ADD REPLY
0
Entering edit mode

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one if they work.
Upvote|Bookmark|Accept

ADD REPLY

Login before adding your answer.

Traffic: 986 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6