Learn R Programming

pmxNODE (version 0.1.0)

pre_fixef_extractor_nm: THETA extraction from results file

Description

Function to extract THETA estimates from a results file of an already run NONMEM file.

Usage

pre_fixef_extractor_nm(res_path)

Value

Named vector with parameter estimates from the previous run

Arguments

res_path

(string) (Path/)Name of the results file of a NONMEM run, must include file extension, e.g., “.res”

Author

Dominic Bräm

Details

Can be used, e.g., to initialize THETAs of a run with inter-individual variability with estimated THETAs of a previous population run without inter-individual variability. Parameters, for which final gradient is equal to 0 are fixed to 0, because a gradient of 0 indicates that corresponding neuron was inactivated during parameter estimation.

Examples

Run this code
res_path <- system.file("extdata","nm_example1_model_converted_ind.res",package="pmxNODE")
pre_fixef <- pre_fixef_extractor_nm(res_path)

Run the code above in your browser using DataLab