search for: p38_stage

Displaying 1 result from an estimated 1 matches for "p38_stage".

2009 Sep 28
2
Help with time series
...put\\Sparrow\\Hydro_Data\\P38_Annual.txt", header=TRUE, skip=1, sep=",", stringsAsFactors=FALSE) P38_SubB$GS <- rep(0.85, dim(P38_SubB)[1]) # GS is the ground surface elevation, which is not included in the initial file. P38_SubB$Depth <- as.numeric(P38_SubB$P38_stage) - as.numeric(P38_SubB$GS) # now I subtract the ground surface to calculate water depth P38_SubB.ts <- ts(data=P38_SubB, frequency = (1), start=c(1981, 1), end=c(2009,1)) # Here I convert to a time series plot(P38_SubB.ts,ylab="Mean Annual Water Depth", xlab="Year", ma...