[R] Random effect in GAM (mgcv)

2018-03-04 Thread Vaniscotte Amélie
Dear R users, I am using the *mgcv package* to model the ratio of hectares of damaged culture by wild boar in french departments according to some environmental covariates. I used a _Beta distribution_ for the response. For each department, we estimated the damaged in 3 different culture typ

[R] multinomial MCMCglmm

2012-10-09 Thread Vaniscotte Amélie
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for several species) have been aggregated per trapline (i.e. 25 traps). Therefore we

[R] multinomial MCMCglmm

2012-09-25 Thread Vaniscotte Amélie
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set is a trapping data set, where the observation at each trap (1 or 0 for different species) have been aggregated per traplines (i.e sum over 25 traps). T