I need some help, I want to plot precipitation anomalies. I already have a (vector) of monthly values of anomalies (positives and negatives), but I don't know how to plot them as a histogram (x-axis=dates and y-axis=values).
Month Values
1 -36.45351166
2 7.38889555
3 -7.50222414
4 6.67311712
5 62.35480802
6 22.16203958
7 0.79312881
8 11.92063581
9 38.90699358
10 -25.27711429
11 -22.19690044
12 -2.36755113
13 -11.25805478
14 3.58435243
15 -23.30676725
16 -1.13142600
17 -20.44973509
18 -14.64250353
19 -0.01141430
20 2.11609269
21 16.10245047
22 -5.08165741
23 55.99855644
24 -17.17209425
frequency = 12 observations per 1 year
trend = 60 observations per 5 years
Error in stats::stl(., s.window = "periodic", t.window = trnd, robust = TRUE) :
NA/NaN/Inf in foreign function call (arg 1)
In addition: Warning message:
In storage.mode(x) <- "double" : NAs introduced by coercion