A correlation plot that show and quantifies correlation along cohorts. Typically used on catch or survey abundances-at-age.

cohcorrplot(x, ...)

# S4 method for FLQuant
cohcorrplot(x, ...)

# S4 method for FLCohort
cohcorrplot(x, diag_size = 16, lower_size = 6)

Arguments

x

An object with the abundance at age information. FLQuant or FLCohort.

...

Any extra arguments

diag_size

Font size for labels in diagonal row

lower_size

Font size for labels in lower triangle

Details

The method prints a plot assembled as a combination of grid elements, but reurns it as a gg object.

Author

The FLR Team

Examples

data(ple4)
cohcorrplot(catch.n(ple4))

cohcorrplot(FLCohort(stock.n(ple4)))