HB_to_counts: Execute function 'summarise_HB' on subsets (age classes and...

Description Usage Arguments Value Examples

View source: R/HB_to_counts.R

Description

'HB_to_counts' returns hourly counts of individual humans in each compartiments (indoor, outdoors, under nets) from a data frame specifying (see MOIROUX et al. 2014)

Usage

1

Arguments

data

a data frame of individual behavior data with the following fields (order doesnt matter): 'rcpcodevillage' village code (factor) 'rcpcodemenage' household code 'rcpnbrenfant1' nb of children (0-6y) in the household 'rcpnbrenfant2' nb of children (6-18y) in the household 'rcpnbradulte' nb of adults in the household 'rcptrcheage' individual age classes (factor) 'sexe' sexe of the individual (f or m) 'age' age in years of the individual '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 data frame of counts of individuals in various compartment per hours according to the age classes and the village (to be used for bite exposure calculation)

Examples

1
HB_to_counts(ODK_HB_R)

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