You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disclaimer: I'm new to pysd2r so this problem might be user error.
I'm trying to follow the 'Population' example in the ReadMe file, but get an error when trying to plot the results of the two simulations as ggplot cannot find the object named TIME. When I run run_model() the resulting dataframe does not have a column of the time variable, even though it exists in the original model.
When I run the equivalent in Python using PySD the output dataframe has the time as the row index/ row name rather than a column, so I'm guessing something is getting lost in the conversion between python and R?
The text was updated successfully, but these errors were encountered:
Disclaimer: I'm new to
pysd2r
so this problem might be user error.I'm trying to follow the 'Population' example in the ReadMe file, but get an error when trying to plot the results of the two simulations as ggplot cannot find the object named
TIME
. When I runrun_model()
the resulting dataframe does not have a column of the time variable, even though it exists in the original model.When I run the equivalent in Python using PySD the output dataframe has the time as the row index/ row name rather than a column, so I'm guessing something is getting lost in the conversion between python and R?
The text was updated successfully, but these errors were encountered: