Skip to contents

Plot an index split by region

Usage

# S3 method for class 'sdmTMB_region_index'
plot(x, type = "index", index_divisor = NULL, unit = NA, base_size = 11, ...)

Arguments

x

An object from index_by_region().

type

Character. "index" (default; stacked regional indices), "share" (each region's share of the year's index) or "relative" (each region's index divided by its own mean).

index_divisor

Optional numeric divisor applied to index values.

unit

Character. Unit label for the index axis. Default NA.

base_size

Numeric. Base font size. Default 11.

...

Currently ignored.

Value

A ggplot object.

Author

Mikko Vihtakari