BiologicalRecordsCentre / BRCindicators

An R package for creating indicators from trends data
4 stars 11 forks source link

plot_indicator() changes years #37

Closed galinajonsson closed 4 years ago

galinajonsson commented 4 years ago

plot_indicator() changes the first year to 1 as opposed to plotting the actual years.

JHHatfield commented 4 years ago

In the current format the years are specified by the user. If no year vector is provided this defaults to 1:length(indicator).

AugustT commented 4 years ago

Can we use the information in the bugs summary to use the proper year numbers?

JHHatfield commented 4 years ago

As far as I can tell all data is directly supplied by the user as numeric vectors

AugustT commented 4 years ago

The help file for plot_indicator shows that the user needs to provide the years, this is what the year argument is for