-
Notifications
You must be signed in to change notification settings - Fork 5
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
update marginal model docs #515
base: main
Are you sure you want to change the base?
Conversation
Keeping this as a draft, but I think I need some feedback before I can do anything else. As far as I can tell the CI issues are being resolved elsewhere and unrelated to the changes made here. |
Thanks for this @kgostic.
This doc page should probably link out to the internal aggregation page and doc it once there (if/as missing) I think.
I think the aggregate data class may help resolve these issues.
I have been resolving this in #513 as I also couldnt make examples without one there. It probably makes sense to adopt that approach. I think there is also some context etc in that PR that might help here and so perhaps it is worth waiting on that and then refactoring/reviewing this.
I think this should be a more general issue as it impacts all the s3 methods (there may in fact be one as its been on the to do list for a while). There are two ways to go with this 1. As you suggest put everything on the same doc page and 2. Use a linking system (as we do for model/data related functions at the moment so people can navigate. epinowcast uses the latter as it extends base s3 generics and scoringutils uses the former. For scoringutils that has been a problem as that central doc page became so full (due to many methods) it became hard to read and so over time we have been moving from 1. to 2. |
Touching base one this |
It sounds like you added some data for an example in #513 and that changing the docs so that the help files are visible is a separate issue? I'm not sure how quickly I'll get to this but can try to update the example bit later this week. I think linking to the help docs is pretty important. |
I added more information and links in that information between functions but I didn't change the approach to s3 documentation. As above I think that this is a separate issue really as from past experience there are a few things to consider and a few viable approaches. Noted on the update. |
Description
This PR closes #512.
Reviewer notes:
?as_epidist_marginal_model.epidist_linelist_data
, whereas it would probably be more useful if it rendered for?as_epidist_marginal_model
. The docs for the latter are so sparse as to not really be useful, but that's all people will know to search for. I wasn't sure how to change this, or whether changing it would have unintended consequences. Please weigh in!Checklist