nm.cormat.extract: Correlation Matrix Extraction

View source: R/nm.cormat.extract.r

nm.cormat.extractR Documentation

Correlation Matrix Extraction

Description

Extract correlation matrix from a .cor file

Usage

nm.cormat.extract(run, path = getOption("nmDir"))

Arguments

run

character string in the form of 'run1'

path

Directory where .cov file resides

Value

Covariate matrix

See Also

extract.varcov, get.covmat, nm.covmat.extract

Examples

nm.unzip(run = "example1", extension = ".cor", 
path = file.path(getOption("qpExampleDir"),"example1"))
run1.cormat =  nm.cormat.extract("example1", 
path = getOption("qpExampleDir"))
names(run1.cormat)
names(run1.cormat[[1]])
lapply(run1.cormat, dim)
file.remove( file.path(getOption("qpExampleDir"),"example1/example1.cor"))


qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.