powered by
Function to interactively detect outliers on the fGLM fitting of a specific fleet segment.
Detect_outliers(COSTS,Fleet_segment,formula)
Data frame built applying EA function on individual vessel data and automatically saved as COSTS.csv in the working directory.
Fleet segment to be investigated.
GLM formula for which the outlier is detected.
See format in the package (type CO in the console).
A string defining the fleet segment.This string should be the same reported in the COSTS data frame.
Example: fuelcost~factor(Met_LOA)+Effort+0
# NOT RUN { Detect_outliers(COSTS,"DTS_VL1218",fuelcost~factor(Met_LOA)+Effort+0) # }
Run the code above in your browser using DataLab