Re: [R] doing zero inflated glmm for count data with fmr

2009-04-20 Thread levyofi
pecialty list... Cheers, Ofir. Ben Bolker wrote: > > > > levyofi wrote: >> >> Hello R users, >> Doing My PhD I collected count data which I believe is zero inflated. I >> have run a statistical model with lmer and family=poisson and got >> summary

[R] doing zero inflated glmm for count data with fmr

2009-04-20 Thread levyofi
Hello R users, Doing My PhD I collected count data which I believe is zero inflated. I have run a statistical model with lmer and family=poisson and got summary(model)@sigma=1 so I believe there is no overdispertion. I would like to use the fmr function from the 'gnlm' library but I just cannot f

[R] adding text and other elements to ggplot2 plots

2009-03-11 Thread levyofi
Hello, I really like the interface and flexibility of the ggplots package. However, I cannot find how to add text to a plot (like the 'text' and 'rect' functions in the graphics package). I will appreciate any suggestions. Thanks, Ofir. -- View this message in context: http://www.nabble.com/addi

Re: [R] lmer, estimation of p-values and mcmcsamp

2009-02-24 Thread levyofi
For getting the p-values from a lmer object you need to use the pvals.fnc() function. do the following: library(lme4) library(languageR) lnmass <- lmer(log.mass ~ treatment + (1|block), data=exp1) pvals.fnc(lnmass, nsim=1) See the documentation for futher details. Best regards, Ofir. Mau

[R] creating bar charts with nested groups

2009-02-24 Thread levyofi
I'm looking for a way to create bar charts with nested groups levels. I have data that is seperated to this factors: 1. Day part - day/night. 2. Season - summer/winter. 3. habitat - Cover/Open I have created in Excel the following chart which I would like to create in R: http://www.nabble.com/f