getDM_rcpp {momentuHMM} | R Documentation |
Get design matrix
Description
Loop for creating full design matrix (X) from pseudo-design matrix (DM). Written in C++. Used in getDM
.
Usage
getDM_rcpp(X, covs, DM, nr, nc, cov, nbObs)
Arguments
X |
full design matrix |
covs |
matrix of covariates |
DM |
pseudo design matrix |
nr |
number of rows in design matrix |
nc |
number of column in design matrix |
cov |
covariate names |
nbObs |
number of observations |
Value
full design matrix (X)
[Package momentuHMM version 1.5.5 Index]