lmCSmatNoNA: Cosinor Without NA Values

Description Usage Arguments Details Value Author(s) Examples

View source: R/stats.R

Description

Fixed period cosinor on each row of a matrix with no missing values.

Usage

1
lmCSmatNoNA(x, zts, per = 24)

Arguments

x

- numeric data matrix

zts

- numeric vector of length ncol(data) representing time points for each data column

per

- period of oscillations (default=24)

Details

Fits a cosinor model to each row of a matrix that has no NA values.

Value

data frame with the following estimated statistics:

Author(s)

Karolis Koncevi<c4><8d>ius

Examples

1
2
3
4
5
## Not run: 
tmpData <- matrix(rnorm(24 * 1000), ncol = 24)
lmCSmat(tmpData, 1:24, 24)

## End(Not run)

DiscoRhythm documentation built on Nov. 8, 2020, 7:32 p.m.