summarise_HB: Count individuals in different states (indoors, outdoors,...

Description Usage Arguments Value Examples

View source: R/summarise_HB.R

Description

'summarise_HB' returns hourly counts of individual humans in 3 compartiments (indoor, outdoors, under nets) from individual data (hours) or behavior. Used in 'HB_to_counts' function

Usage

1

Arguments

data

a data frame of individual behavior data with the following fields: 'dormirssmoust', did the individual used a mosquito net ? (value = "oui" or "non"), 'hintmaison', the hour the individual went indoors in the evening, in HH:MM:SS character format (for ex. "20:30:00") 'hsortiemaison', the hour the individual went outdoors in the morning 'hcoucher', the hour the individual went to sleep 'hlever', the hour the individual wake up

Value

a dataframe with 6 columns of counts (N_Ind, N_User, N_In, N_Sleep, N_Mild, N_User_In) and 24 lines (one per hours)

Examples

1
2
subset_hb <- subset(ODK_HB_R,rcpcodevillage == "DOG")
summarise_HB(subset_hb)

Nmoiroux/biteExp documentation built on March 13, 2020, 10:39 p.m.