nesting.activity: Calculate the Proportion of Active Nests for a Set of Dates

Description Usage Arguments Details Value Note Author(s) References See Also

Description

Calculate the proportion of active nests along the breeding season for a set of species, regions or years

Usage

1
nesting.activity(dat, dates = F, groups = F, by = "sp", n = T, chronology = F, ...)

Arguments

dat

A data.frame containing observations for one or several nests or the output of the active.nest function with column names : nest_id, species_code, date, eggs, young and optionally status_code, longitude and latitude.

dates

Restricts the range of dates for which the nesting activity is calculated. A vector of length 2 with the dates given as a character string of the in the mm-dd format (ex: dates = c("04-01","09-01")).

groups

Used to compute the nesting phenology for different group of species based on habitat, phylogeny, feeding guild, etc. A named list of character vectors with the species code and the group ids as names (ex: list(warblers = c("COYE", "YWAR"), hawks = c("BAEA" , "GOEA"))). Species that are not part of a group will be returned as usual. If a species is part of more than one group, an error message will be returned.

by

Used to compute the nesting phenology based on species, years or regions. The three types of output are "sp", "year" or "region".

n

Gives the number of nests used to compute the proportion of active nests. If set to TRUE, the first line of the resulting data.frame gives the number of nests used.

chronology

Does the nesting chronology needs to be determined first? When set to TRUE, the dat argument has to be a data.frame with nests observations. When set to FALSE, the dat argument is assumed to be the output of the active.nest function.

...

Further arguments to be passed to the chronology or active.nest function.

Details

To be described

Value

A data.frame with the first column named date and the remaining columns named with either the species code, year or regions used according to the by argument. The first line of the data.frame optionaly (see argument n) contains the number of nests available for the calculation.

Note

To be described

Author(s)

Francois Rousseu <francoisrousseu@hotmail.com>

References

To be described

See Also

active.nest, nesting.calendar


frousseu/rNest documentation built on May 16, 2019, 3:32 p.m.