Message-ID: <4e932aba-7e31-6c7d-245c-25fa3d786ced@ed.ac.uk>
Date: 2017-09-25T15:51:09Z
From: Jarrod Hadfield
Subject: MCMCglmm Poisson with an offset term and splines
In-Reply-To: <MWHPR1201MB002944173C438E84CF18802BD67A0@MWHPR1201MB0029.namprd12.prod.outlook.com>
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>