0
votes
1answer
26 views

How to plot weighted means on a boxplot

After considerable time searching for a solution and fiddling, I am reaching out for help in my attempt to display weighted means on a boxplot (I thought I had submitted this inquiry to the ggplot2 ...
1
vote
1answer
65 views

Generate ggplot2 boxplot with different colours for multiple groups

I'm fairly new to R and ggplot. I'm trying to generate a boxplot sorted by two variables. In my case Species and Experiment. What I got so far by using ggplot(DF, aes(Species, Protein, ...
0
votes
1answer
114 views

ggplot2 boxplot

I am trying to plot boxplot using ggplot2. sample data is like this. > sampe count genotype 71 mt 50 mt 71 mt 95 wt 60 mt 63 mt 75 mt 82 wt 93 ...
1
vote
1answer
164 views

R ggplot - Coordinates transform (square root) with boxplot

I have a couple of box and whisker plots in R. In both, the x-axis corresponds to one categorical variable whilst the grouping colours correspond to the other. If I draw both plots with an ...
0
votes
3answers
137 views

How to add a number of observations per group and use group mean in ggplot2 boxplot?

I am doing a basic boxplot where y=age and x=Patient groups age <- ggplot(data, aes(factor(group2), age)) + ylim(15, 80) age + geom_boxplot(fill = "grey80", colour = "#3366FF") I was hoping ...
6
votes
2answers
167 views

R ggplot empty factor level

I am trying to draw a box and whisker plot in R. My code is below. At the moment, because I only have data for two months in one of the two sites, the bars are wider for that site (because the third ...
1
vote
1answer
253 views

ggplot2 - How to boxplot two variables with different scales on same plot using a primary and secondary y-axis?

Datalink: Data Code: distevyield <- read.csv(file = "F:/Purdue University/RA_Position/PhD_ResearchandDissert/PhD_Draft/GTAP-CGE/GTAP_NewAggDatabase/NewFiles/GTAP_DistEVYield.csv", ...
0
votes
1answer
113 views

Boxplot of table using ggplot2

I'm trying to plot a boxplot graph with my data, using 'ggplot' in R, but I just can't do it. Can anyone help me out? The data is like the table below: Paratio ShapeIdx FracD NNDis Core -3.00 ...
0
votes
0answers
90 views

add lines from a different dataset on an existing boxplot using ggplot2 in R

I am trying to create a combined plot with boxplots based on one set of data, and two lines based on different sets of data in R using ggplot2 package. The boxplots are monthly streamflow data with ...
1
vote
1answer
139 views

Multiple boxplots with predefined statistics using lattice-like graphs in r

I have a dataset which looks like this VegType 87MIN 87MAX 87Q25 87Q50 87Q75 96MIN 96MAX 96Q25 96Q50 96Q75 00MIN 00MAX 00Q25 00Q50 00Q75 1 0.02 0.32 ...
0
votes
1answer
349 views

ggplot boxplots with scatterplot overlay (same variables)

I'm an undergrad researcher and I've been teaching myself R over the past few months. I just started trying ggplot, and have run into some trouble. I've made a series of boxplots looking at the depth ...
-1
votes
1answer
117 views

Plotting a new point value in a boxplot. R and ggplot2

I have a simple data frame called msq: sex wing index 1 h 54 67.4 2 m 60.5 67.9 3 m 60 64.5 4 m 59 66.6 5 m 63.5 63.3 6 m 63 66.7 7 m 61.5 ...
0
votes
3answers
385 views

Plot multiple boxplot in one graph

I saved my data in as a .csv file with 12 columns. Columns two through 11 (labeled F1, F2, ..., F11) are features. Column one contains the label of these features either good or bad. I would like to ...
0
votes
1answer
114 views

Sorting a ggplot2 boxplot [duplicate]

Possible Duplicate: Order Bars in ggplot2 bar graph I have the following data frame (df) in R that I wish to create a box plot for: Entity Mean Min Q1 Med Q3 Max 1 ...
2
votes
1answer
125 views

Add sample total num at x-axis for each box at boxplot in ggplot2

I can do it with classic boxplot. Here we use the built-in data: PlantGrown as example. attach(PlantGrowth) boxplot(weight~group,data=PlantGrowth,xaxt="n") ...

1 2 3 4 5
15 30 50 per page