Detect_outliers {SECFISH}R Documentation

Detecting outliers influencing the fitting of a GLM

Description

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

Usage

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

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

[Package SECFISH version 0.1.7 Index]