e2e_extract_hr {StrathE2E2} | 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

    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

        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)

[Package StrathE2E2 version 4.0.0 Index]