XBloop_rcpp: Get XB

View source: R/RcppExports.R

XBloop_rcppR Documentation

Get XB

Description

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

Usage

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


bmcclintock/momentuHMM documentation built on Oct. 26, 2022, 1 a.m.