Thanks Hadley: I had already gone to your website and stat="identity" is what I
needed.
--- On Fri, 12/26/08, hadley wickham wrote:
> From: hadley wickham
> Subject: Re: [R] ggplot2 Xlim
> To: mazatlanmex...@yahoo.com
> Cc: r-help@r-project.org, "Wayne F"
&
the
> number of FL at any given FL size. Thanks
>
>
> --- On Thu, 12/25/08, Wayne F wrote:
>
>> From: Wayne F
>> Subject: Re: [R] ggplot2 Xlim
>> To: r-help@r-project.org
>> Date: Thursday, December 25, 2008, 2:43 PM
>> I'm just a ggplot2 beginner,
L value, I only want to count the number
of FL at any given FL size. Thanks
--- On Thu, 12/25/08, Wayne F wrote:
> From: Wayne F
> Subject: Re: [R] ggplot2 Xlim
> To: r-help@r-project.org
> Date: Thursday, December 25, 2008, 2:43 PM
> I'm just a ggplot2 beginner, but...
>
I'm just a ggplot2 beginner, but...
It seems to me that you're mixing continuous and factor variables/concepts.
It looks to me as if ForkLength and Number are continuous values. But you'll
need to convert ForkLength into a factor before using geom="bar". I do that
and the graph "works" but the ba
would you make this reproducible, please. Think cut and paste out of
email into R.
?dput
my guess would be the breaks argument
On Wed, Dec 24, 2008 at 12:31 PM, Felipe Carrillo
wrote:
> Hi: I need some help.
> I am ploting a bar graph but I can't adjust my x axis scale
> I use this code:
>
Hi: I need some help.
I am ploting a bar graph but I can't adjust my x axis scale
I use this code:
i <- qplot(ForkLength,Number,data=FL,geom="bar")
i + geom_bar(colour="blue",fill="grey65") # too crowded
FL_dat <- ggplot(FL,aes(x=ForkLength,y=Number)) +
geom_bar(colour="green",f
6 matches
Mail list logo