[R-sig-ME] Mixed effects model with a distance matrix as a random effect

Steven J. Pierce pierces1 at msu.edu
Tue Jun 4 18:28:12 CEST 2013


You could also consider using a geostatistical model such as found in the
spBayes package. 

Steve 


-----Original Message-----
From: Roey Angel [mailto:angel at mpi-marburg.mpg.de] 
Sent: Tuesday, June 04, 2013 8:46 AM
To: r-sig-mixed-models at r-project.org
Subject: [R-sig-ME] Mixed effects model with a distance matrix as a random
effect

Hi,
I'm trying to build a mixed-effects model in which I'd like to include
either a distance matrix as a random effect.
The troubles I've had are that function lmer() in package lme4 only accepts
a data frame column as a random factor and not a distance matrix.

Is there a way around it?

Thanks in advance
Roey


	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list