Skip to content

Error on for tidy_jjm  #12

@jimianelli

Description

@jimianelli

m0 <- readJJM("h1_0.00", path = "config", input = "input")
m1 <- readJJM("h1_1.00", path = "config", input = "input")
tidy_mods <- tidy_JJM(combineModels(m0,m1))
totals <- get_totals(tidy_mods)
Warning messages:
1: Unknown or uninitialised column: output.
2: Unknown or uninitialised column: output.
3: Unknown or uninitialised column: output.
and then from:
totals %>%

  • ggplot(aes(year, value, color = stock, linetype = model)) +
  • geom_line() +
  • facet_wrap(~ metric, scales = "free_y")
    I get:
    Error in combine_vars():
    ! At least one layer must contain all faceting variables: metric.
  • Plot is missing metric
  • Layer 1 is missing metric
    I get the same errors w/ get_recruits, also for single models vs combined models

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