Hi all, my question is related to the nlme and lmer package. My idea is
related to running a linear mixed model in which one of the matrix with
incidence (Z), could be previously formed by the sum of two matrix or  by
their overlapping (Z1 + Z2 = Z) within those functions. Here there is an
example of what I an trying to explain so that you guys can understand in a
better way:

outputF <-lmer (formula = ALT ~ (1 | MOTHER) + (1 | FATHER) + (1 | FAMILY),
data = datosF)

The above model allows me to run the random effect of both parents
separately, considering that each one corresponds to a column in my
database, but my intention is to overlap or add these matrix (if I'm not
mistaken in the exact term) and run them as a single random effect.

 This is the matrix in which rather than doing the association with a
father and mother separately we can considered jointly (after scoring
matrices).

1 1 0 0 0 0 0

0 0 1 0 0 1 0

0 1 0 1 0 0 0

What could be done manually, but the idea is to integrate the function (to
preset the data somehow) so that we could obtain the variances.

Kind Regards,

Felipe.

	[[alternative HTML version deleted]]

