incRatt | R Documentation |
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.
incRatt(data, vector.incubation)
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 |
vector.incubation |
name of the column (vector class) storing the information about the presence/absence of the incubating individual in the nest. |
The 'date' column must have a 'year-month-day' format for this function to run correctly.
Daily percentage of time in nest, returned in a data frame with one day per raw.
incRprep
incRscan
incRact
#' # loading example data
data(incR_procdata)
incRatt (data=incR_procdata,
vector.incubation="incR_score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.