When passing constant seromodel as parameter to plot_foi_estimates and plot_rhats, it yields the following error
Error in plot_foi_estimates(seromodel, serosurvey) :
seromodel@name should start with either 'age' or 'time'
It is a little unintuitive, since it assumes the user know that seromodel@model_name begins with 'age' or 'time' for age or time models, respectively.
I would suggest changing it to "seromodel type must be 'age' or 'time'"
When passing
constantseromodel as parameter toplot_foi_estimatesandplot_rhats, it yields the following errorIt is a little unintuitive, since it assumes the user know that seromodel@model_name begins with 'age' or 'time' for age or time models, respectively.
I would suggest changing it to "seromodel type must be 'age' or 'time'"