incRact | R Documentation |
Using a vector of incubation scores, incRact calculates onset of activity (first off-bout in the morning), and end of daily activity (last on-bout in the evening) per day. A column for dates, named "date" is needed in the data argument.
incRact(data, time_column, vector.incubation)
data |
data frame containing a numeric vector of 1's and 0's (incubation scores), where "1"
means "incubating individual inside nest" and "0" means "incubating individual
outside the nests". This vector,
under the name of |
time_column |
(character class) name of the column containing times. |
vector.incubation |
(character class) name of the vector containing
incubation scores. |
a data frame containing fist off-bout and last on-bout per day in data.
Pablo Capilla-Lasheras
incRprep
incRscan
#' # loading example data
data(incR_procdata)
incRact (data=incR_procdata,
time_column="time",
vector.incubation="incR_score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.