model_vms: Vessel Modeling with Gaussian Mixture Models

View source: R/model_vms.R

model_vmsR Documentation

Vessel Modeling with Gaussian Mixture Models

Description

This function uses normalmixEM from the mixtools package to model speed of vessels and estimates their behavior. Specifically, if the vessel was in a fishing activity or cruising

Usage

model_vms(df)

Arguments

df

a data.frame preprocessed using the preprocessing_vms() function from this package

Value

a data.frame with a vessel_state column with the type of model implemented

Examples


preprocessing_vms(sample_dataset, destination.folder = tempdir())
df <- fst::read_fst(paste0(tempdir(), "/vms_2019_1_1_10_preprocessed.fst"))
model_vms(df)


CBMC-GCMP/dafishr documentation built on July 5, 2024, 6:25 a.m.