parse_nm_phi: Parse a NONMEM phi file (*.phi)

View source: R/parse_nm_phi.R

parse_nm_phiR Documentation

Parse a NONMEM phi file (*.phi)

Description

Reads the content of a phi file and extracts informations related to the parameters and the objective function values.

Usage

parse_nm_phi(filepath = NULL, content = NULL)

Arguments

filepath

character. If content = NULL, defines the filepath of the file.

content

character. Text content of a phi file.

Value

A tibble with one row per estimation step and 9 columns:

  • number: the number of the estimation step

  • method: the name of the estimation method

  • problem: the goal function of the estimation method

  • subproblem: subproblem value

  • superproblem1: superproblem1 value

  • iteration1: iteration1 value

  • superproblem2: superproblem2 value

  • iteration2: iteration2 value

  • individuals: a tibble with the individual parameter values.

Examples

## Not run: 
parse_nm_phi(filepath = "run.phi")

## End(Not run)

pnolain/pmxploit documentation built on Jan. 31, 2024, 1:16 p.m.