Displaying 1 result from an estimated 1 matches for "_amsq".
Did you mean:
_amsd
2011 Mar 22
1
Looping Problem
...script that will automate the task of running a
Kendall's Tau correlation test on 75 time series that I am interested in.
The code I have written is:
for(i in 1:length(gagehandles)){
dates<-get(paste(gagehandles[i],"_amsd",sep=""))
q<-get(paste(gagehandles[i],"_amsq",sep=""))
taup<-Kendall(dates,q)
print(gagehandles[i])
print(taup)
So basically, I have inputted all the records I am concerned with into R
using the scan function. These are all represented by a four letter
identifier followed by _amsd or _amsq (to distinguish the two variable...