Detect_outliers: Detecting outliers influencing the fitting of a GLM

Description Usage Arguments Value Author(s) Examples

View source: R/Detecting_outliers.r

Description

Function to interactively detect outliers on the fGLM fitting of a specific fleet segment.

Usage

1
Detect_outliers(COSTS,Fleet_segment,formula)

Arguments

COSTS

Data frame built applying EA function on individual vessel data and automatically saved as COSTS.csv in the working directory.

Fleet_segment

Fleet segment to be investigated.

formula

GLM formula for which the outlier is detected.

Value

COSTS

See format in the package (type CO in the console).

Fleet_segment

A string defining the fleet segment.This string should be the same reported in the COSTS data frame.

formula

Example: fuelcost~factor(Met_LOA)+Effort+0

Author(s)

Isabella Bitetto

Examples

1
Detect_outliers(COSTS,"DTS_VL1218",fuelcost~factor(Met_LOA)+Effort+0)

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