e2ep_extract_hr {StrathE2EPolar}R Documentation

Extract the values of harvest ratios generated by the fleet model.

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

e2ep_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

e2ep_read, e2ep_run

Examples

    model <- e2ep_read("Barents_Sea", "2011-2019") 
    results<-e2ep_run(model, nyears=2,csv.output=FALSE)
    harvest_ratio_data <- e2ep_extract_hr(model,results,csv.output=FALSE)

[Package StrathE2EPolar version 2.1.0 Index]