Hi,
I found a solution.
expfun <- function(x,intercept=intercept,slope=slope)
{exp(intercept+slope*x)}
mean$treat <- as.factor(paste(mean$A,mean$B,sep=""))
ggplot(mean, aes(x=x, y=y)) +
geom_errorbar(aes(ymin=y-SE, ymax=y+SE), width=.1)+
geom_point()+
stat_function(fun =
expfun,args=
Hi,
I try to put 4 different curves to 4 different grids using ggplot2
package. But, I dont know how.
I have something like this:
A1B1 <- function(x) {exp(4.319735-0.098362*x)}
A1B2 <- function(x) {exp(4.350256-0.098362*x)}
A2B1 <- function(x) {exp(4.920225-0.238536*x)}
A2B2 <- function(x) {exp
Thanks, that helped! I didn't realize there was another version of the book.
On Wed, Apr 1, 2009 at 2:51 PM, Tobias Verbeke <
tobias.verb...@openanalytics.be> wrote:
> Hi,
>
> I'm trying to follow the ggplot introduction here:
>> http://had.co.nz/ggplot/ggplot-introduction.pdf
>>
>> I've install
cc
Subject
04/02/2009 07:20 Re: [R] help with ggplot2 --
AM MSTggpoint function mi
ur
> Subject: [R] help with ggplot2 -- ggpoint function missing?
> To: r-help@r-project.org
> Date: Wednesday, April 1, 2009, 2:17 PM
> I'm trying to follow the ggplot introduction here:
> http://had.co.nz/ggplot/ggplot-introduction.pdf
>
> I've installed ggplot2
Hi,
I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf
I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) :
c
I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf
I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) :
could n
7 matches
Mail list logo