-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello - thank you so much for your work on this project!
I am running heRomod 0.0.1 on R 4.0.2 on Windows x86_64.
I need to track the occurrence of an event (having a blood clot) during the model. I thought to implement it as a tunnel state as below:
state_D <- define_state( cost_total = 0, vte = (state_time==1) )
However, when I go to run the model I'm getting the following error:
base: detected use of 'state_time', expanding state: Dead. Error: Assigned data par_resmust be compatible with existing data. x Existing data has 1806 rows. x Assigned data has 42 rows. i Only vectors of size 1 are recycled. Runrlang::last_error() to see where the error occurred.
Would appreciate any insights or suggestions you have!
Metadata
Metadata
Assignees
Labels
No labels