Skip to content

Problems Reading Calendar #4

@amaliagj

Description

@amaliagj

This isn't a huge issue and is more a documentation error I think:
"If there is no change in the external arrival rate through time, enter 0 in the start column and the arrival rate (0 if there are no external arrivals) in the Arrival Rate column." should be changed to "If there is no change in the external arrival rate through time, enter 0 in the start column, an arbitrary value in the end column, and the arrival rate (0 if there are no external arrivals) in the Arrival Rate column."

Currently when I run the simulation wizard in the app, I'm finding that I'm running into the "Missing ", j, " value entry in calendar" error if I fill out the calendars assuming the rates are always the same. I enter 0 for the start time and 5 for the external arrival rate, 0 for the capacity start time and 7 for the capacity, leaving the rest of the table blank. I see the missing value error for both the External Arrival Rate and Capacity calendars. Debugging it looks like the cal variable just remains empty (each value is chr "") and the values in the table aren't getting properly read in.

.....

Also adding this just for completeness - the current version of the app lead to a rowSums error for me the first time I ran it. The transition matrix was being read in as characters and the rowSums function wasn't happy, so I changed lines 3794 and 5036 to the following which resolved it: transition <- as.data.frame(lapply(f,as.numeric))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions