Displaying 4 results from an estimated 4 matches for "chimpanzee".
2012 May 26
2
Assessing interaction effects in GLMMs
Dear R gurus
I am running a GLMM that looks at whether chimpanzees spend time in shade
more than sun (response variable 'y': used cbind() on counts in the sun and
shade) based on the time of day (Time) and the availability of shade
(Tertile). I've included some random factors too which are the chimpanzee
in question (Individual) and where they are in...
2008 Oct 06
2
Problem with Grep Under Loop
Dear all,
I have no problem with this individual grep command:
> datk <- grep("XM_528056", source$V1)
> dat2 <- source[datk,]
> print(dat2)
V1 V2 V3 V4 V5 V6 V7
35995 XM_528056 panTro2 chr8 + 1775569 1896107 Chimpanzee
BUT, when I run them under the loop it gives this error:
> hm_acc <- c("XM_528056","AB002296")
> for (i in 1:length(hm_acc)){
+
+ hm_acc_id <- as.character(hm_acc[i])
+ print(hm_acc_id)
+
+ hm_allk <- grep(hm_acc_id,source$V1)
+ hm_all <- source...
2011 Jul 26
0
How do you report lmer results?
Dear R-Gurus
I am a PhD student from South Africa working on chimpanzee behaviour.
I am looking at patterns of shade utilization and am using generalized
linear mixed models to examine the effects of various factors on
whether chimpanzees choose to spend time in the sun or shade. I
realise that the lme4 package and the outputs of the lmer functions
have been discussed...
2011 Aug 17
2
Getting vastly different results when running GLMs
Dear R gurus
I am analysing data from a study of behaviour and shade utilization of
chimpanzees. I am using GLMs in R (version 2.13.0) to test whether shade/sun
utilization is predicted by behaviour observed. I am thus interested in
whether an interaction of behaviour (as a predictor) and presence in the
sun/shade (also predictor) predicts the counts I have for the respective
categories.
I...