Description Usage Arguments Details Value Note Author(s) References See Also Examples
Analyze parameter labels of the form "THETA1" or "OMEGA2.3" or "SIGMA1.1".
is.diagonal
and is.offdiagonal
decode the numeric x.x portion
as indicating a region of a matrix (both rely on on.diagonal
). is.fixed
detects "THETA",
is.iiv
detects "OMEGA", and is.residual
detects "SIGMA",
reflecting conventional usage for population pk-pd.
is.random
detects all "OMEGA" and "SIGMA". All functions
are case-insensitive.
1 2 3 4 5 6 7 | on.diagonal(x)
is.diagonal(x)
is.offdiagonal(x)
is.fixed(x)
is.random(x)
is.iiv(x)
is.residual(x)
|
x |
character |
Integer subscripts, as in "THETA1", are neither diagonal nor offdiagonal.
logical
x
is coerced to numeric using text2decimal
, so only the
first two indices are considered. For example "omega1.2" gives the
same result as "omega1.2.3".
Tim Bergsma
http://metrumrg.googlecode.com
offdiag
1 2 3 4 5 6 7 8 9 | x <- c("THETA1","OMEGA2.1","SIGMA1.1")
on.diagonal(x)
is.diagonal(x)
is.offdiagonal(x)
is.fixed(x)
is.random(x)
is.iiv(x)
is.residual(x)
on.diagonal("OMEGA40.40")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.