is.diagonal: Analyze Parameter Labels

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

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.

Usage

1
2
3
4
5
6
7

Arguments

x

character

Details

Integer subscripts, as in "THETA1", are neither diagonal nor offdiagonal.

Value

logical

Note

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".

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

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")

metrumrg documentation built on May 2, 2019, 5:55 p.m.