fillToLength: Fill A Matrix with Background Values

Description Usage Arguments Value Examples

Description

Creates a matrix of background values of correct size from vectors of values.

Usage

1
fillToLength(X, period = 1800)

Arguments

X

A data frame containing the background values

period

The length of the sample period (including background) in seconds.

Value

A data frame with wavelengths in columns and timepoints in rows.

Examples

1
2
3
apply(X[, cols], 2, getBg.waves, ...) %>%
    fillToLength() %>%
    setNames(names)

alphonse/aeRo documentation built on May 11, 2019, 11:21 p.m.