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

Same as "Colonisation status of waterway sections assuming 10 day closure period for analysis in R", but variables derived assuming closure over 20 days