powered by
Converts a matrix of data and its associated vector of sequence lengths to a data list of class "hhsmmdata"
"hhsmmdata"
hhsmmdata(x, N = NULL)
a data list of class "hhsmmdata" containing x and N
x
N
a matrix of data
a vector of sequence lengths. If NULL then N = nrow(x)
N = nrow(x)
Morteza Amini, morteza.amini@ut.ac.ir
x = sapply(c(1, 2), function(i) rnorm(100, i, i/2)) N = c(10, 15, 50, 25) data = hhsmmdata(x, N)
Run the code above in your browser using DataLab