Loop for computation of design matrix (X) times the working scale parameters (B). Written in C++. Used in w2n
.
XBloop_rcpp(
DM,
Xvec,
nbObs,
nr,
nc,
circularAngleMean,
consensus,
rindex,
cindex,
nbStates,
refCoeff = 1
)
XB matrix
design matrix
working parameters
number of observations
number of rows in design matrix
number of column in design matrix
indicator for whether or not circular-circular regression model
indicator for whether or not circular-circular regression consensus model
row index for design matrix
column index for design matrix
number of states
intercept coefficient for circular-circular regression model