hhsmmdata: convert to hhsmm data

Description Usage Arguments Value Author(s) Examples

View source: R/hhsmmdata.R

Description

Converts a matrix of data and its associated vector of sequence lengths to a data list of class "hhsmmdata"

Usage

1
hhsmmdata(x, N = NULL)

Arguments

x

a matrix of data

N

a vector of sequence lengths. If NULL then N = nrow(x)

Value

a data list of class "hhsmmdata" containing x and N

Author(s)

Morteza Amini, morteza.amini@ut.ac.ir

Examples

1
2
3
x = sapply(c(1,2), function(i) rnorm(100,i,i/2))
N = c(10, 15, 50, 25)
data = hhsmmdata(x,N)

hhsmm documentation built on Jan. 10, 2022, 9:07 a.m.

Related to hhsmmdata in hhsmm...