as.unilog.run: Create a Run Log for NONMEM7 using NONMEM6 Format

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

Description

metrumrg includes an INFN routine for NONMEM6 and earlier that creates a comma-separated listing of parameter estimates and their percent relative standard errors. This function emulates that data, using the ‘.ext’ file produced under NONMEM7. as.runlog.unilog converts the output to the format used for NONMEM6. The default for tool changed from 'nm6' to 'nm7' at version 5.18.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
as.unilog.run(
	run,
	logfile='NonmemRunLog.csv',
	outfile=paste(run,'lst',sep='.'),
	extfile=file.path(
		dirname(outfile),
		paste(run,'ext',sep='.')
	),
	tool='nm7',
	...
)

Arguments

run

name of the NONMEM run, typically integer

logfile

path for the NONMEM run log file

outfile

path for the NONMEM output file, typically ‘run.lst

extfile

path for the NONMEM estimates, by default ‘run.ext

tool

currently ‘nm7’

...

passed to other functions

Details

The ‘ext’ file is digested. In particular the rows labeled -1000000000 and -1000000001 are taken as the parameter estimates and standard errors, respectively. The minimization status (min) is either 0 (minimized) or 1 for NONMEM7, which is less informative than for NONMEM6. The covariance status (cov) is normally 0, or (v. 5.56 and later) -1 if not requested. It will be 1 if covariance was requested but no standard errors appear in extfile (as for NONMEM6).

Value

data.frame with columns tool, run, parameter, moment, value.

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also


anniejw6/metrumrg documentation built on May 10, 2019, 11:50 a.m.