-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideas for classes of objects saved in package #16
Comments
Looks like classes can be documented like functions: |
We're ending up with more classes. So go through them and just briefly document them as per above, to help for adding future data objects (so we'll know if we can just call them an existing class). |
Be nice to document the classes, but not completely necessary for Friday. |
Should documenting the classes just be an object .R documentation? Or what would the other options be? |
There was something in the link above (May 2 comment). I took the label off as didn't think it was 100% necessary for tomorrow (kind of helps us more than users). |
I was thinking of the classes just being
pacea_t
for a time series,pacea_s
for spatial, andpacea_st
for spatiotemporal, and then having functions likeplot.pacea_t()
to plot an object in the correct style.Currently implement (not fully working) for climate indices, so that
plot(oni)
does a sensible plot.Currently implementing estimated annual recruitment and biomass from hake assessment, for which different types of plot are needed. So now thinking to have classes:
The current
plot.pacea_t()
is getting a bit big with different switches depending on what's in the object, so makes sense just to add more classes with sensible default plotting options.The text was updated successfully, but these errors were encountered: