hat is going on? Solutions? Thanks.---steve
--
Steve Powers
power...@nd.edu
University of Notre Dame
Environmental Change Initiative
website (http://www.nd.edu/~spowers2/index.htm)
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
10=10, var1=1))
>>
> var1 var2 var3 var4 var5 var6 var7 var8 var9 var10
> 1NANANANA 6NANANA10
>
>> f.output(c(var4=4, var4=5)) # same variable with two values -- last one
>> taken
>>
> var1 var2
sort of thing you mean?
>
> output <- character(26)
> names(output) <- paste('var', LETTERS[1:26], sep='')
> output
> output[paste('var', LETTERS[c(2,4,6,7,16)], sep='')] <- c(1, pi,
> letters[1:3])
> output
>
> Peter Alspach
&g
Let's say I have a program that returns variables whose names may be any
string within the vector
NAMES=c("varA","varB","varC","varD","varE","varF"..."varZ"), but I do
not ever know which ones have actually been created. So in one example
output, "varA", "varC", and "varD" could exist, but in a
gt;
>> combined <- data.frame(time=var1_times, v1=var1_values,
>> v2=new_v2(var1_times))
>>
>> combined
>>
>time v1 v2
> 1 0 0.0 50.0
> 2 1 0.5 52.5
> 3 2 1.0 55.0
> 4 3 1.5 56.7
> 5 4 2.0 58.3
I have a time series for two variables measured simultaneously, but at
different intervals. The variables are not independent, so the patterns
in the times series are very similar (one variable goes up when the
other goes up, etc).
For example, let's pretend my data look something like this (bu
6 matches
Mail list logo