Displaying 8 results from an estimated 8 matches for "armstrwa".
Did you mean:
armstrtw
2011 May 18
4
Loop stopping after 1 iteration
Hi all,
This is a very basic question, but I just can't figure out why R is handling
a loop I'm writing the way it is.
Here is the script I have written:
grid_2_series<-function(gage_handle,data_type,filename)
series_name<-paste(gage_handle,data_type,sep="_")
data_grid<-read.table(file=paste(filename,".txt",sep=""))
2011 Mar 21
1
Kendall v MannKendall Functions
Hi,
I am running a correlation analysis on a temporal dataset. I was wondering
if you would receive the same tau and p values running the function:
MannKendall(x), where x is the dependant variable that changes with time
as you would running:
Kendall(d,x), where x is the exact same dataset as the x entered into
MannKendall and d is the date on which the observation was made (assuming
that
2011 Mar 21
1
Basic Looping Trouble
Hi all,
Forgive me for this basic question. I've been doing some research and
haven't been able to figure out how to best do this yet.
I have 75 variables defined as vector time series. I am trying to create a
script to automate calculations on each of these variables, but I wasn't
sure how to go about calling variables in a script.
I am hoping to write a loop that calls a list of
2011 Mar 22
1
Looping Problem
Hi all,
I am trying to write a 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)
2011 Mar 25
1
Magic Number Error Message
Hi all,
When I attempt to run a script, I keep getting the error message shown
below. I have seen from searching that the "Use of save versions prior to 2
is deprecated" could be an error resulting from a permissions problem, but I
have been unable to find anything describing the "file has magnic number '#
Coh'". The file I am attempting to read into the script is a
2011 Mar 18
1
Difficulty with 'loess' function
Hi,
I am trying to create a loess smooth from hydrologic data. My goal is to
create a smooth line that describes discharge at a certain point in time. I
have done this using the 'lowess' function and had no problem, but I'm
having some difficulty with loess. I am inputting the date ('date') and
discharge ('q') values using the 'scan' function, then inputting
2011 Mar 28
0
Acessing Test Outputs for Writing to a Table
Hi all,
I am trying to write a script that will compute Kendall's tau for a 75 time
series (using the Kendall package) and will then write the tau and p values
from the Kendall test to a text file table that can be read into Excel.
I am having no problem calculating Kendall's tau and the associated p value
for each time series, but I am having trouble figuring out how aggregate the
2011 Apr 22
1
Paste problem when looping variable assignments
Hi all,
I am attempting to run through a large set of data and sort events by the
water year (1 Oct - 30 Sep) in which they occurred.
I have no problem doing this for each individual site I am looking at (so my
problem is not with most of the code, just one minor thing), but when I try
to loop it to do the same things for each site, I run into problems.
I think the root of my problem is that