trip | R Documentation |
Create R6 reference object class trip
new()
Initialize function for R6 trip class.
trip$new( trip_id, fleet, landing_date, departure_date, logbook_availability, fish_hold_empty, vessel_id, vessel_type )
trip_id
Object of class character expected. Trip identification.
fleet
Object of class character expected. Fleet identification.
landing_date
Object of class character expected. Landing date in format ymd UTC.
departure_date
Object of class character expected. Departure date in format year month day hour minute second.
logbook_availability
Object of class integer expected. Logbook availability value, 1 for available and 0 for not.
fish_hold_empty
Object of class integer expected. Informe if the fish hold empty at the end of the trip, 1 for yes and 0 for not.
vessel_id
Object of class integer expected. Vessel identification.
vessel_type
Object of class character expected. Vessel type identification.
clone()
The objects of this class are cloneable with this method.
trip$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.