View source: R/get.diag.names.r
get.diag.names | R Documentation |
Retrieve which names in a vector of NONMEM parameter names are the diagonal ones. Thus, slect which ones are (1,1),, (2,2), etc... instead of (1,2), (3,4), etc... The function is used internally by functions post-processing NONMEM output
get.diag.names(names, sep = ",")
names |
character vector with OMEGA and SIGMA names |
sep |
separator - defaults to comma (e.g. OMEGA(1,1)) |
named vector of logicals; TRUE for giagonal, FALSE for off-diagonal elements
covMatrix = get.covmat(path = getOption("qpExampleDir"), run = "example2")
get.diag.names(names = sub(" +", "", trimSpace(names(covMatrix[[1]]))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.