nwpri_matrix | R Documentation |
Set a block of matrix for the NWPRI routine in NONMEM
nwpri_matrix(x, blocktype)
x |
a symmetric matrix of numeric, typically the covariance matrix of theta or the estimates of omega/sigma. |
blocktype |
a character, either "THETAP", "OMEGAPD" or "SIGMAPD". |
a single character value to be pasted into the NONMEM code
x <- matrix(c(1, 0.12, 0.13, 0.12, 22, 0.23, 0.13, 0.23, 333), nrow = 3, ncol = 3)
nwpri_matrix(x = x, blocktype = "THETAPV")
nwpri_matrix(x = x, blocktype = "OMEGAP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.