[R-sig-ME] MCMCglmm Poisson with an offset term and splines
Jarrod Hadfield
j.hadfield at ed.ac.uk
Mon Sep 25 17:51:09 CEST 2017
Hi,
The example is not reproducible: l_lfvcspn does not exist.
The error is telling you that you don't have 11 fixed effects in the
model. Change k to the number of fixed effects in the model.
Jarrod
On 25/09/2017 16:39, dani wrote:
> mc_spl1gna <- MCMCglmm(y ~ age+x2+x8+x9+x3+l_lfvcspo+x4+x5+x6+x7+offset,
> random =~ STUDYID+class+idv(l_lfvcspn),
> data = newdatab,
> family = "poisson"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20170925/cb9b8f07/attachment.ksh>
More information about the R-sig-mixed-models
mailing list