XBloop_rcpp: Get XB

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Loop for computation of design matrix (X) times the working scale parameters (B). Written in C++. Used in w2n.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
XBloop_rcpp(
  DM,
  Xvec,
  nbObs,
  nr,
  nc,
  circularAngleMean,
  consensus,
  rindex,
  cindex,
  nbStates,
  refCoeff = 1
)

Arguments

DM

design matrix

Xvec

working parameters

nbObs

number of observations

nr

number of rows in design matrix

nc

number of column in design matrix

circularAngleMean

indicator for whether or not circular-circular regression model

consensus

indicator for whether or not circular-circular regression consensus model

rindex

row index for design matrix

cindex

column index for design matrix

nbStates

number of states

refCoeff

intercept coefficient for circular-circular regression model

Value

XB matrix


momentuHMM documentation built on Sept. 5, 2021, 5:17 p.m.