Skip to content
Prev 279919 / 398506 Next

Fixed! Thanks all:RE: scatterplot to boxplot translation?

Thanks to David and Jorge - both of your helpful suggestions got me to the desired endpoint. In case anyone else has this question: I boxplotted my y variable data, but did the "cut" operation on the x variable in order to conserve the order of the y data. I see another suggestion coming in from another user that basically says this. 

So, my working line of code was:

boxplot(count$RPKM ~ cut(count$C_count, breaks=4)

Much appreciation to everyone who responded...thanks for helping with a na?ve question without making me feel stupid.

This discussion board is very, very good.

--Kelly V.

-----Original Message-----
From: David Winsemius [mailto:dwinsemius at comcast.net] 
Sent: Friday, December 09, 2011 11:58 AM
To: Uwe Ligges
Cc: Vining, Kelly; r-help at r-project.org
Subject: Re: [R] scatterplot to boxplot translation?
On Dec 9, 2011, at 2:50 PM, Uwe Ligges wrote:

            
In that context (having defined a cut-variable with single-integer break argument),  would have thought this should work:

  boxplot(count$RPKM ~ cutRPKM)

--
David.
David Winsemius, MD
West Hartford, CT