Displaying 1 result from an estimated 1 matches for "hydrometrics_list".
2010 May 25
1
General Question regarding Lists
...lWaterDepth[7:15], 1, mean)
So far so good.
Next I need to generate a pairwise correlation matrix for each dataframe
using the calculated average value . My approach has been to consider
calculating the average value first and then creating a "list" using code
similar to the following
hydrometrics_list <- list(meanAnnualWaterDepth$Average,
sevenDayWaterDepth$Average, discontinuousHydroperiod$Average)
# abbreviated here, it will have 40 objects when done
After this I need to run the pairwise correlations.
So is it more efficient to build the list first and calculate the averages
for each co...