Question: Box plots in R
0
gravatar for ezraamustafa3
8 months ago by
ezraamustafa30 wrote:

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?

box plot R • 271 views
ADD COMMENTlink modified 8 months ago by Mark780 • written 8 months ago by ezraamustafa30
1

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 REPLYlink modified 8 months ago • written 8 months ago by Mark780

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

ADD REPLYlink written 8 months ago by ezraamustafa30
2
gravatar for zx8754
8 months ago by
zx87549.4k
London
zx87549.4k wrote:

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

ADD COMMENTlink written 8 months ago by zx87549.4k

I figured it out thanks a lot!

ADD REPLYlink written 8 months ago by ezraamustafa30

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 REPLYlink written 8 months ago by zx87549.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1386 users visited in the last hour