Colonisation status of waterway sections assuming 10 day closure period for analysis in R

Produced from raw data within R. occ.relax.F = colonisation status (1=colonised, 0=not colonised), ID.fac = waterway section ID, focal.x & focal.y = coordinates of section, logitscore = habitat quality score of focal section, disc.500 = mean habitat quality score of all sections within 500 m radius, disc.750 = mean habitat quality score of all sections within 750 m radius, yr.month = year-month combination, yr = year, month = month of year, Date.real.F = dd/mm/yyyy, meanmean.occ.N270 - meanmean.occ.N2500 = mean occupancy of all neighbouring sections within that distance band, hab.mean.N270 - hab.mean.N2500 = mean habitat quality score of all neighbouring sections within that distance band, conspec270to1000 = mean occupancy of all sections between 270 - 1000 m away