cov
added which check for matrix suitability for
covariance matrix. When cov=TRUE
, off-diagonal elements in
covariance matrices may no longer be nonzero if the diagonal value
is zero (rxode2#481). This will also check tht the matrix is
non-positive definite on the non-diagonal terms. cov
can also be a
function to allow correction of the matrix to a positive definite
matrix automatically.lotri(n1+n2~omega)
Can convert lotri objects to data-frames similar to the internal
data frame used in nlmixr()
; These can then be converted back with
as.lotri()
Added the ability to add estimates to a lotri object. These
estimates are an attached data.frame
to the original lotri matrix.
You can extract them or drop them with the function lotriEst()
Allow specifying fixed components in lotri()
matrices.
Add cov
, cor
, sd
, var
, and chol
options for matrix
specification. The final matrix will always be the covariance matrix
Add function lotriMatInv()
which takes a symmetric block matrix
and converts it into a list of matrices. An sort of inverse
operation of lotriMat()
Add error for lotri(~c(40))
Added ability to flag fixed
and unfixed
components in a
matrix. Currently lotri
only supports one type.
For the lotriFix
objects, ie those created with population types
of estimates and covariance estimates, allow them to be converted to
an equivalent expression with as.expression()
for the lotri object
and lotriDataFrameToLotriExpression()
for the data.frame
call.=FALSE
or equivalent.rchk
lotriMat
to mix named and unnamed matrices; When mixed, an
unnamed matrix will be returned.$lower
and $upper
gives default values even if it
wasn't specified.Matrix
import and added lotriMat
to create banded
matrices (faster than Matrix
for now included repeated matrices
with list(matrix, rep)
).upper
and lower
bounds
are specified|
; Returns a list of matrices
where each condition is the name of the matrix returned.| id(lower=c(eta1=3))
NEWS.md
file to track changes to the package.