-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
RAI equation
- RAI is a standardized calculation of relative activity over a set period of time, typically 100 trap days.
- It looks like the RAI being generated in the script is total count / trap days as opposed to (total count * 100) / trap days, with the 100 being the standardized trap days.
- This is why we're getting rai values as a proportion of 1 instead of whole numbers (see below).

total_rai_by_year function
The scale of the ggplot graph produced by this function doesn't make sense since rai is currently being calculated as a proportion of 1.

- Examining the data via View(total_rai_by_year) it appears that the entire deployment is only being assigned 1 trap day so the rai value being calculated is actually just a count total by deployment per month.
- That is why the J7_2023105 value for 2023 in the table below is so high (270), its the total count.
- If we assume one trap day between January 1 2023 and October 5 2023 (277) then using the rai equation mentioned above ((total count * 100)/trap days) that rai value should read: (270*100)/277 = 97.5

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels