Skip to content

Subsetting with undefined object #2

@cl-roberts

Description

@cl-roberts

Issue

Lines 107 and 110 in plotting/plot_age_composition.R subset a vector using an undefined object nburn. This object is probably created in other scripts but should be explicitly created here

spawn.age.comp<-spawn.age.comp[-c(1:nburn), 1:(nyr*10)]*100
seine.age.comp<-read.csv(paste0(model.dir, "mcmc_out/SeAC.csv"), header = FALSE, dec=".")
seine.age.comp<-seine.age.comp[-c(1:nburn), 1:(nyr*10)]*100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions