strucMatrixOneOffDiag: Structured sparse matrix with only one non-zero value off the...

Description Usage Arguments See Also Examples

Description

Structured sparse matrix with only one non-zero value off the diagonal

Usage

1
strucMatrixOneOffDiag(diagVal, offDiagVal, offDiagInds, matSize)

Arguments

diagVal

unique value for the diagonal

offDiagVal

unique value for the off-diagonal

offDiagInds

indices for the two correlated objects

matSize

size of the matrix

See Also

Other strucMatrixSpecial: strucMatrixBlank; strucMatrixCol; strucMatrixCompSymm; strucMatrixConstVarChol; strucMatrixCorFactor; strucMatrixCorMatChol; strucMatrixDiag; strucMatrixExpChol; strucMatrixFull; strucMatrixGenFullTri; strucMatrixIdent; strucMatrixInd; strucMatrixOnes; strucMatrixSymm; strucMatrixTri; strucMatrixVarWithCovariate

Examples

1
(xOneOffDiag <- strucMatrixOneOffDiag(1, -0.2, c(5, 2), 5))

stevencarlislewalker/lme4ord documentation built on May 30, 2019, 4:43 p.m.