outcome_shares: Share of risk by vessel type, channel, month, and diel period

View source: R/outcome_shares.R

outcome_sharesR Documentation

Share of risk by vessel type, channel, month, and diel period

Description

This function uses a bootstrapping routine (described in Keen et al. 2023) to estimate the share of risk attributable to each level for vessel type, channel, month, and diel period. It does this for each outcome type (cooccurrence, close encounter, …, mortality).

Usage

outcome_shares(outcomes, verbose = TRUE)

Arguments

outcomes

A data.frame of results from the shipstrike::gather_outcomes() function.

Value

A named list.


ericmkeen/shipstrike documentation built on May 21, 2023, 7:05 a.m.