Check if the item "ocean" is class integer and if all values are 1, 2, 3, 4 or 5.

check_ocean(ocean)

Arguments

ocean

Object of class integer expected. Ocean identification.