search for: maleag

Displaying 4 results from an estimated 4 matches for "maleag".

Did you mean: malea
2009 Oct 07
3
graphics
...by doing this. Is it possible to place the legend out side of figure axes on the white area around all three panels? Any help would be greatly appreciated. Thank you Grant single<-read.table("C:\\Grant\\hatchfirstonly.txt",header=T) attach(single) names(single) par(mfrow=c(1,3)) maleage<- factor(maleage, labels = c("Old","Young")) colors <- c('gray', "navyblue") shapes <- c(17,19) proportion<-(eggs1-unhatch1)/eggs1 plot(proportion~maleage, xlab= "Age of Male ", ylab = "Proportion of Eggs Hatched") plot(proporti...
2009 Aug 27
1
(no subject)
...i ma making a scatter plot of y~x and want to specify different coloured and filled shaped for the points according the the third categorical variable A. the code i have managed is : plot(y~x,pch=as.numeric(factor(Age))) and i can chage the col seperatley with plot(y~xt,pch=as.numeric(factor(maleage))) and have added a legend with: legend(locator(1), as.character(levels(factor(maleage))), pch=1:length(levels(factor(maleage)))) However the problem i have is that using this code R selects the shapes or colours for me? could you help as to how i specify a specific shape for each of the level...
2009 Aug 24
1
transforming data glm
Dear sir, I am fitting a glm with default identity link: model<-glm(timetoacceptsecs~maleage*maletub*relweight*malemobtrue*femmobtrue) the model is overdisperesed and plot model shows a low level of linearity of the residuals. The overdispersion and linearity of residulas on the normal Q-Q plot is corrected well by using: model<-glm(log(timetoacceptsecs)~maleage*maletub*relweight*...
2011 Mar 08
1
Nesting random effects in lmer
Dear R experts, Could you please tell me how to nest random effects in an lmer model? Right now, my function looks like this: Full<-lmer(Consortship~((1|Male)+(1|Female))+MaleRank+MaleAge+MMGroom+MMAggrRankControl+FemaleRank+FemaleAge+MFAggrMating+GroomBirth07+MatNoConsortGroomF, family=poisson) However, a) I'm not sure if placing the two random effects (Male and Female) in parentheses actually achieves nesting, and b) I get an error message about variable MMGroom (Error in mo...