nm.covmat.extract: Covariance Matrix Extraction

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

nm.covmat.extractR Documentation

Covariance Matrix Extraction

Description

Extract covariance matrix from a .cov file

Usage

nm.covmat.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.cormat.extract

Examples

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


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