Displaying 1 result from an estimated 1 matches for "dhr13".
Did you mean:
chr13
2006 Feb 26
1
assigning differences in a loop
...m1<-paste("d",j,i,sep="")
nam2<-paste(j,i,sep=".")
nam3<-paste(j,"0",sep=".")
cat(nam1,"\n")
cat(nam2,"\n")
cat(nam3,"\n")
}}
for example the first difference would be dHR13<-HR.13-HR.0
I have tried
get(paste("d",j,i,sep=""))<-get(paste(j,i,sep="."))-get(paste(j,"0",sep="."))
which result in an error message such as "target of the assign does not
belong to the language" (translation from French).
I h...