df.type {fishRman}R Documentation

Check the type of dataframe in relation to fishRman

Description

Function to check the type of dataframe in relation to fishRman. Most of the times the user will not call this function directly, but it can be useful for debug.

Usage

df.type(df)

Arguments

df

The dataframe to check.

Value

A string explaining how the input dataframe is treated by fishRman.

Examples


dated <- c("2020-01-01", "2020-01-02")
lat <- c(40, 41)
lon <- c(12,13)
mmsi <- c("34534555", "25634555")
hours <- c(0, 5)
fishing_hours <- c(1,9)

df <- data.frame(dated, lat, lon, mmsi, hours, fishing_hours)

what.type <- df.type(df)

print(what.type)

# "GFW Fishing Effort By Vessel"


[Package fishRman version 1.2.3 Index]