nmlistblock: convert a block to a list

View source: R/nmlistblock.r

nmlistblockR Documentation

convert a block to a list

Description

This function will convert a NONMEM block to a list including the type and separate formula parts

Usage

nmlistblock(dollmodel)

Arguments

dollmodel

list with each item being a separate dollar block, usually obtain from get_nmblock

Value

a list with the structured code

Author(s)

Richard Hooijmaijers

Examples


nmmod <- system.file("example_models","PK.1CMT.ORAL.mod", package = "amp.sim")
lst   <- get_nmblock(nmmod, block = "PROB")
nmlistblock(lst)


amp.sim documentation built on May 7, 2026, 5:08 p.m.