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

make named dy vector in rates_SEPAIHRD_str #26

Open
apascualgarcia opened this issue Jul 10, 2020 · 2 comments
Open

make named dy vector in rates_SEPAIHRD_str #26

apascualgarcia opened this issue Jul 10, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@apascualgarcia
Copy link
Collaborator

The dy vectors monitor the transitions, it is of size N*M with N being the number of transitions and M the number of classes. Now it is filled with an integer but then the order appearing in the code should be exactly the same than the transitions generated in make_transitions.R, which is prone to errors and makes further modifications delicate.

Both scripts could be recoded (see issue #25) to be automatically created from the classes and the compartments to give labels to the transitions in make_transitions and then use these names in dy.

@apascualgarcia apascualgarcia added the enhancement New feature or request label Jul 10, 2020
@apascualgarcia apascualgarcia self-assigned this Jul 10, 2020
@apascualgarcia
Copy link
Collaborator Author

Now the number of transitions is hardcoded within the function to get the dimensions, this will not work as soon as the model changes.

@apascualgarcia
Copy link
Collaborator Author

The number of transitions is now given as a variable inspecting the transitions matrix

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

No branches or pull requests

1 participant