incRatt: Calculation of the percentage of daily time spent in nest

Description Usage Arguments Value See Also Examples

Description

This function calculates percentage of day time spent inside nest based on the "inc.vector" variable produced by incRscan (or any other method). Current version do not discriminate day and night times.

Usage

1
incRatt(data, vector.incubation)

Arguments

data

data frame containing a time-series vector of 1's and 0's, where "1" means "incubating individual inside nest" and "0" means "incubating individual outside nest". This vector, under the name of "inc.vector" is provided by incRscan in the first object of the returned list. A column named "date" is needed to refer to daily calculations.

vector.incubation

name of the column (vector class) storing the information about the presence/absence of the incubating individual in the nest.

Value

Daily percentage of time in nest, returned in a data frame with one day per raw.

See Also

incRprep incRscan incRact

Examples

1
2
3
4
#' # loading example data
data(incR_procdata)
incRatt (data=incR_procdata, 
               vector.incubation="incR_score")

incR documentation built on May 2, 2019, 6:12 a.m.