Entomo_PHP_to_counts: convert data from individual mosquitoes collection dataframe...

Description Usage Arguments Value Examples

View source: R/Entomo_PHP_to_counts.R

Description

convert data from individual mosquitoes collection dataframe to counts of individuals per collection sites (giving 8 collections sites per place, 4 indoors, 4 outdoors)

Usage

1
Entomo_PHP_to_counts(data, v_hours, ndays = 1, genre = "Anopheles")

Arguments

data

a data frame of individual mosquitoes with the following column : 'NumMission' survey of collection 'CodeVillage' village code (factor) 'PointDeCapture' collection site (i.e place where collection have been performed both indoors and outdoors) value : 1 to 4 'PosteDeCapture' collection point (indoors or oudoors), value = int or ext 'HeureDeCapture' beginning of the collection hours : passible values : 0 to 23 'Genre' genus of the individual mosquito (default "Anopheles")

v_hours

a vector of sarting hours of collection i.e c(15:23,0:11) for collections lasting from 15h in the afternoon to 12h in the morning

ndays

duration (in days) of collection during each survey in each collection point (default = 1)

genre

the value (string) of the genus for which counts have to be computed (from factors in the 'Genre' column, default : "Anopheles")

Value

a dataframe with hourly counts of mosquitoes in each collection point ("O1" "O2""O3""O4" "I1""I2" "I3" "I4"), counts summed indoor and outdoors ("No""Ni"), duration of collection indoors and outdoors (i.e., th number of collection point, d = 4), time in a new referential (t). Per villages and survey.

Examples

1
2
3
v_hours <- c(15:23,0:11)
ndays <- 2
Entomo_PHP_to_counts(Entomo_PHP, v_hours, ndays)

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