e2e_extract_hr: Extract the values of harvest ratios generated by the fleet...

Description Usage Arguments Value See Also Examples

View source: R/e2e_extract_hr.R

Description

The 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.

Usage

1
e2e_extract_hr(model, results, csv.output = FALSE)

Arguments

model

R-list object defining the model configuration compiled by the e2e_read() function.

results

R-list object generated by the e2e_run() function.

csv.output

Logical. If TRUE then enable writing of CSV output files (default=FALSE).

Value

Dataframe of harvest ratio values, rows = guilds, columns = zone

See Also

e2e_read, e2e_run

Examples

1
2
3
    model <- e2e_read("North_Sea", "1970-1999") 
    results<-e2e_run(model, nyears=2,csv.output=FALSE)
    harvest_ratio_data <- e2e_extract_hr(model,results,csv.output=FALSE)

StrathE2E2 documentation built on Jan. 23, 2021, 1:07 a.m.