BirdScanCommunity / birdscanR

3 stars 2 forks source link

Fix documentation of propObsTimeCutoff in computeMTR.R #33

Open BirgenH opened 1 year ago

BirgenH commented 1 year ago

In the documentation of computeMTR it says for propObsTimeCutoff: numeric between 0 and 1. If the MTR is computed per day and night, time bins with a proportional observation time smaller than propObsTimeCutoff are ignored when combining the time bins. If the MTR is computed for each time bin, the parameter is ignored.

This is not correct. The parameter is not ignored when calculating the MTR for each time bin. MTR's for time bins for which the proportional observation time is less than this parameter are effectively set to NA.

The documentation should be updated accordingly.