get.ofv: Objective Function Value parser

View source: R/get.ofv.r

get.ofvR Documentation

Objective Function Value parser

Description

Pull the Objective Function Value (OFV) from the NONMEM output file

Usage

get.ofv(run, path = getOption("nmDir"), file.ext = ".lst")

Arguments

run

run rootname (e.g. run1)

path

directory where run resides

file.ext

file extension of the NONMEM output file (defaults to .lst)

Value

named numeric value representing the OFV. The name is NONMEM's estimated-method-specific name for the OFV

See Also

get.dOFV which calls get.ofv over multiple runs for a brief runrecord, read.out

Examples

get.ofv("example2", path = getOption("qpExampleDir"))
sapply(c("example1","example2"), get.ofv, path = getOption("qpExampleDir"))

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