indActogram: Plot actogram of individual fly

Description Usage Arguments Value Examples

View source: R/indActogram.R

Description

Allows users to generate individual actograms. The input for this function must be the output of the binData() function. The output of this function is a plotly object.

Usage

1
indActogram(data, bin = 30, t.cycle = 24, ind = 1, key.acto = 1)

Arguments

data

Input data file. The input for this function must be the output of the function binData(). See ??binData().

bin

Define the bin size (in minutes) in which input data is saved.

t.cycle

Define the period of the environmental cycle or a single day in hours. This defaults to 24.

ind

The channel number (or individual) whose actogram must be plotted.

key.acto

Key for reactive input tables in the shiny app.

Value

A plotly htmlwidget with the actogram of a user defined fly.

Examples

1
2
3
4
5
6
7
## Not run: 
td <- trimData(data = df, start.date = "19 Dec 20", start.time = "21:00",
n.days = 10, bin = 1, t.cycle = 24)
bd <- binData(td)
ind.actogram <- indActogram(data = bd, bin = 30, ind = 2)

## End(Not run)

phase documentation built on Aug. 17, 2021, 1:06 a.m.

Related to indActogram in phase...