About Code
Code written using R Studio 1.0.143 as an R notebook file. 

Additional information for datasets 

Effort Dataset ‘effdat’

	1.	seas > season
	2.	HSV > High speed vessel (small = 32m length or large = 35m length)
	3.	routeno > route no: for survey
	4.	route > route name (see befow for code)
	5.	tripno > trip number of survey 
	6.	dist > distance traveled for the leg in km (Each leg is within one route, so there could be multiple legs on the same route on one day)
	7.	hr.dec > hr traveled for the leg in decimal format
	8.	hrs > hr traveled for the leg in time format
	9.	starttimewbreaks > Start time for the leg (there may be breaks in between start and end times based on field conditions)
	10.	endtimewithbreaks > End time for the leg 
	11.	sight > sighting on the leg? Yes or No
	12.	no. sight > how many sightings on the leg

Cetacean Dataset ‘cetenvdat’

Includes cetacean sightings and topographical data

	1.	sno > serial number
	2.	mon > month of sighting
	3.	date > day of sighting in MM/DD/YY format
	4.	year > year of sighting
	5.	seas > season (ne = northeast monsoon season, inter = inter-monsoon)
	6.	HSV > High speed vessel (small = 32m length or large = 35m length)
	7.	eff > effort (off = off survey effort or opportunistic sighting, on = on survey effort)
	8.	routeno >  route no: for survey
	9.	route > route name (see befow for code)
	10.	time > local time (24 hour format)
	11.	species > common name of species (see manuscript for full scientific names and below for code)
	12.	lat > latitude in degree decimal (N)
	13.	long > longitude in degree decimal (E)
	14.	grpsize > group size of cetacean sighting
	15.	depth > seafloor depth 
	16.	neardistkm > distance to nearest landmass (island) in kilometers
	17.	slope > rise over run of seafloor depth for cetacean sighting (1km resolution)
	18.	beaufort > beaufort state (1-4, effort suspended 5 or above)

Beaufort Dataset ‘beau’

	1.	date > Date in MM/DD/YY format
	2.	season > Season (ne = northeast monsoon season, inter = inter-monsoon)
	3.	route > route name (see befow for code)
	4.	diet > Distance for corresponding beaufort for a specific route within a day and the season
	5.	beau> Beaufort state (1-4, effort suspended 5 or above)

Island codes (refer routeno & route columns)
AND = Androth
AMN = Amini
AGT = Agatti
BTR = Bitra
CHT = Chetlat
KLP = Kalpeni
KVT = Kavaratti
KDT = Kadmat
KLT = Kilthan
MCY = Minicoy
AKC = Amini-Kadmat Complex

Species codes
baleen = Baleen whale
blackfish = Blackfish species
bottlenose = Bottlenose dolphin
falsekiller = False killer whale
pygmykiller = Pygmy killer whale
risso’s = Risso’s dolphin
spinner = Spinner dolphin
spotted = Spotted dolphin
striped = Striped dolphin
unidcet = Unidentified Cetacean
uniddolphin = Unidentified dolphin
unidsmalldolphin = Unidentified dolphin
unidsmallwhale = Unidentified whale
unidwhale = Unidentified whale

Route number and name
1 = AGT - AKC
2 = KVT - AGT
3 = BTR - AKC
4 = KVT - AKC
5 = CHT - AKC
6 = KLT - AKC
7 = KVT - AND
8 = BTR - KVT
9 = KLT - CHT
10 = KVT - KLP
11 = AMN - KDT
12 = KVT - KLT
13 = KVT - MCY