Calculate number of propellers (nProp) by ship type trends.

calcPropNum(
  shipType,
  paxTugShipTypes = c("cruise.ed", "passenger", "ferry.pax", "ferry.ro.pax", "cruise",
    "yacht", "tug", "service.tug")
)

Arguments

shipType

Ship type (vector of strings, see calcShipType)

paxTugShipTypes

Ship types specified in input shipTypes to be modeled as passenger and tug vessels. (vector of strings)

Value

nProp (vector of numericals)

Details

Based on a sample of 2,700 ships from Clarksons.

This method this requires ship types to be grouped. Use the paxTugShipTypes grouping parameter to provide these ship type groupings. Any ship types not included in these groupings will be considered as miscellaneous vessels.

Examples

calcPropNum(c("container.ship","bulk.carrier","tug"))
#> [1] 1 1 2