Disaggr: Disaggregation of the variable costs

Description Usage Arguments Value Author(s) Examples

View source: R/Disaggregation_of_the_costs.r

Description

Function to disaggregate time series of variable costs by from the fleetsegment to the metier level, using the official time series of the costs and the official time series of transversal variables, combined with the results obtained from GLM function applied on individual vessel data.

Usage

1

Arguments

Costs_or

Data frame containing the variable costs time series by fleet segment.

key_table_or

Data frame containing the coefficients of the best fitting GLM, describing the relationship between variable costs structure and transversal variables by metier.

Eff

Data frame containing the transversal variables (effort and revenues) by metier.

path

Path where the results have to be saved.

Value

Costs_or

See example typing Co_or in the R console.

key_table_or

See example typing key_tab_or in the R console. Details related to each column: Type of cost: Allowed values: fuel_costs, other_costs, labour_costs, maintenance_costs. Option: 1 additive model, 2 multiplicative model, 3 metier not significant. To fill in the fields Explanatory_variable and Coefficient, the output produced by the GLM.r script has to be considered for that fleet segment for the disaggregation.

Eff

See example typing Eff_ in the R console.

path

Default path=tempdir()

Author(s)

Isabella Bitetto

Examples

1

SECFISH documentation built on Aug. 29, 2019, 5:10 p.m.

Related to Disaggr in SECFISH...