Skip to content
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

Write a wrapper of the models namespace #2

Closed
5 tasks done
gvegayon opened this issue Aug 17, 2022 · 4 comments
Closed
5 tasks done

Write a wrapper of the models namespace #2

gvegayon opened this issue Aug 17, 2022 · 4 comments
Assignees
Labels

Comments

@gvegayon
Copy link
Member

gvegayon commented Aug 17, 2022

The epiworld C++ library has many predefined models. These should be included directly via R wrappers. The list of models to add is:

  • sis
  • sir
  • seir
  • sirconnected
  • seirconnected

This list will grow, eventually. I'll start with the first one.

@gvegayon gvegayon added the devel label Aug 17, 2022
gvegayon added a commit that referenced this issue Aug 19, 2022
@gvegayon
Copy link
Member Author

@derekmeyer37, I was able to build a wrapper for a SIR model. There are other four models here. The next step will be to:

  1. Copy the src/model_sir.cpp file, one for each model.
  2. Document the functions using roxygen2 (so we need to create R wrappers)

@gvegayon
Copy link
Member Author

Hey @derekmeyer37, here is a good reference about S3 methods and classes.

@derekmeyer37
Copy link
Collaborator

derekmeyer37 commented Aug 26, 2022 via email

@gvegayon
Copy link
Member Author

gvegayon commented Aug 26, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants