criterio2Interval: Convert a data frame with a column called .criterio to a data...

Description Usage Arguments Value

View source: R/criterio2Interval.R

Description

data frame of intervals of Bouts meeting certain criteria,

Usage

1
2
criterio2Interval(df, pctBouts = 1, durBoutMin = dseconds(5),
  durEpoch = dseconds(5), units = "mins")

Arguments

df

data frame with columns .criterio

durBoutMin

minimum amount of time that the condition muest be met to be aconsidered a Bout

durEpoch

amount of time that represents each row of the dataframe (duration of a epoch usually)

units

Units of time to show certain summaries. Une of c("secs","mins","hours","days")

pctBout

represents fraction of time that the .criterio must be TRUE

Value

a list with data frame of intervals and certain summaries.


fjbaron/rbouts documentation built on July 12, 2019, 7:51 p.m.