Description Usage Arguments Details Value Author(s) Examples
Creates a matrix based on a vector specifying the lower diagonal elements (as would be defined in NONMEM outputs)
1 | createNmMatrix(x, dimnames = NULL, byrow = TRUE)
|
x |
Vector of values to be placed in the matrix |
dimnames |
Optional dimension names for output matrix |
byrow |
(Optional) Should we read in the data into the matrix diagonal by row (default) or by column |
Places the values in the lower diagonal of an output matrix, and reflects these values across the diagonal. Adds dimension names if provided
A matrix
Mike K Smith mstoolkit@googlemail.com
1 2 3 | createNmMatrix(1:3)
createNmMatrix(1:6)
createNmMatrix(1:10, list(LETTERS[1:4], letters[1:4]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.