Skip to content

(no subject)

1 message · Dot Lundberg

#
Hello,

Here is the example of the dataset and code I am working with.  I have also
attached a photo of the graphs it produces.  I am trying to get the x axis
to read the dates as dates not a count of the dates.

getwd()
[1] "C:/Users/Dot/Documents"
[1] "DEAL4_2_43531.csv"   "DitchR"              "karen_question.pptx"
 [4] "LPB_PPT_R.csv"       "LPB_R.csv"           "LPB_R.xlsx"
 [7] "R codes.docx"        "Seasons_D4.csv"      "test.R"
[10] "YearData.csv"
[1] "Date"    "Rain_cm" "Cum_PPT"
[1] "data.frame"
[1] "2009-07-15"
 plot.ts(LPB_PPT_R[,2:3], type="l", col="black", xlab="Date")
Date Rain_cm Cum_PPT
1 2009-07-15  0.0254    0.03
2 2009-07-16  0.0000    0.03
3 2009-07-17  0.0000    0.03
4 2009-07-18  0.0000    0.03
5 2009-07-19  0.0000    0.03
6 2009-07-20  0.0000    0.03
Any help would be greatly appreciated. Thanks!
On Wed, Apr 15, 2015 at 5:02 AM, Jim Lemon <drjimlemon at gmail.com> wrote: