Extract the values of harvest ratios generated by the fleet model.
e2e_extract_hr.RdThe function extracts the inshore, offshore and whole-domain values of harvest ratio (proportion of biomass captured per day) for each guild, from the results object generated by the e2e_run() function.
Examples
model <- e2e_read("North_Sea", "1970-1999")
#> Current working directory is...
#> 'C:/Users/jackl/OneDrive - University of Strathclyde/Documents/Research/Packages/StrathE2E/strathe2e2/docs/reference'
#> No 'results.path' specified so any csv data requested
#> will be directed to/from the temporary directory...
#> 'C:\Users\jackl\AppData\Local\Temp\RtmpC42d8N'
#>
#> Model setup and parameters gathered from ...
#> StrathE2E2 package folder
#> Model results will be directed to/from ...
#> 'C:\Users\jackl\AppData\Local\Temp\RtmpC42d8N/North_Sea/1970-1999/'
results<-e2e_run(model, nyears=2,csv.output=FALSE)
harvest_ratio_data <- e2e_extract_hr(model,results,csv.output=FALSE)