Skip to content

Commit

Permalink
changed path to optim output
Browse files Browse the repository at this point in the history
  • Loading branch information
eosnas committed Jan 18, 2024
1 parent c214a03 commit ec1ee00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion threshold.opt.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# function to iterate through closure thresholds and find cummulative harvest and population size or utility
library(tidyverse)
#load data
out <- readRDS("data/out.RDS")
#load simulate function
Expand Down Expand Up @@ -75,7 +76,7 @@ for(t in 1:length(t_red)){
}

saveRDS(df, file = "data/optim1.RDS")
# df <- readRDS("optim1..harOriginal.RDS")
# df <- readRDS("data/optim1.RDS")
df$Clower <- df$cumHar - df$cumHarSD
df$Cupper <- df$cumHar + df$cumHarSD
ggplot(data = df, aes(x=Closure, y=cumHar)) +
Expand Down

0 comments on commit ec1ee00

Please sign in to comment.