Open lilyclements opened 2 years ago
Looking at this I'm wondering if this would be better as one argument i.e. x_scale_breaks = seq(1940, 1950, 5)
. Since it doesn't really make sense to separate them and leads to errors you identified. We could just have this as one argument which is specified as a vector of year break points.
Looks like a bug, yes. I could have a look if you can't see an obvious issue?
Could you check if this is used in the R-Instat equivalent? If not, it could be removed.
This splits the data into categories so you can display rain/dry as different colours. So 0, 0.85, Inf would define 2 categories. It's flexible like this so that you could define more categories e.g. dry/light rain/heavy rain
Don't see why that shouldn't work so would be good to fix if possible.
Sure if you leave them as TODO I'll have a look.
These might not be bugs, but confusion as to why they're not working. @dannyparsons if you could explain this to me, that would be great, then I can add it into the documentation.
x_scale_from
If
x_scale_from
is given, thenx_scale_to
, andx_scale_by
arguments have to be given (and similarly if at least one of the three are given, but not all three) Should we set defaults if this is the case -x_scale_by
to be1
andx_scale_to
to be the maximumyear
value in thedate
variable?x_scale_from
withyear_doy_plot = TRUE
If
x_scale_...
is given withyear_doy_plot = TRUE
, then the maximum year does not seem to work correctly.facet_dir
is a parameter in the list of parameters in the function but is never used in the function. Was this removed, but left in the list of parameters accidentally, or should it be in the function somewhere?rain_cats
There is 0, 0.85, and an upper bound value. Is this essentially setting the threshold value? What are the lower and upper boundaries for?facet_by
withyear_doy_plot = TRUE
I can't seem to getelements-stations
to work whenyear_doy_plot = TRUE
. Is this intentional? If so, why? I'll update the documentation.