Hi,
maybe working with a data.frame in long format is an option - then you
can use e.g. lmList and so on up to mixed models, depending on your
final goals of analyses (e.g. check for differential slopes).
vmat<-matrix(c("X1","X2","X3","X4","Y1","Y2","Y3","Y4"),nrow=2,byrow=T)
aa.l<-reshape(aa,idva
"R Heberto Ghezzo, Dr" wrote on 08/01/2012
08:06:30 AM:
>
> Hello,
> I have a big data frame where consecutive time dates and
> corresponding observed values for each subject (ID) are on a line. I
> want to compute the linear slope for each subject. I would like to
> use apply but I do
> not k
Hi,
On Wed, Aug 1, 2012 at 9:06 AM, R Heberto Ghezzo, Dr
wrote:
> Hello,
> I have a big data frame where consecutive time dates and corresponding
> observed values for each subject (ID) are on a line. I want to compute the
> linear slope for each subject. I would like to use apply but I do
> no
Hello,
I have a big data frame where consecutive time dates and corresponding observed
values for each subject (ID) are on a line. I want to compute the linear slope
for each subject. I would like to use apply but I do
not know how to express the corresponding function. An example using a loop
f
4 matches
Mail list logo