subsetTime: Subsetting data by time

Description Usage Arguments Value Examples

Description

This function subsets your data to correspond to a certain time interval. Use this function to subset out a particular portion of an experiment (to clip off unused data from beginnning and end).

Usage

1
subsetTime(obj, startTime, expDuration, units)

Arguments

obj

A valid DAM object (created by newExperiment).

startTime

The starting point to include.

expDuration

The duration of time you wish to include.

units

The units of time you are using. Can be one of the following: "days", "hours", "minutes", or "seconds."

Value

Returns a DAM S4 object.

Examples

1
returnedDAM <- subset(DAM, startTime = 1, expDuration = 3, units = "days")

jstaf/actmon documentation built on May 20, 2019, 2:11 a.m.