$INFN

Marks the beginning of abbreviated code for the INFN routine.

1
2
3
4
5
6
 $INFN
 abbreviated code

;# example
 $INFN
 IF (ICALL.EQ.1) CALL SUPP (1,1)

Discussion

The $INFN record is used to describe initialization processing for a NONMEM run, or NONMEM problem, or finalization processing for a NONMEM problem. It is used with PREDPP. See Initialization-Finalization block for details.

For example, consider inserting the following abbreviated code in a $INFN (or $PRED) block. It outputs final parameter estimates, standard errors, minimum value of the objective function, and conditional estimates of ETAs to various user files. The return codes from Estimation and Covariance steps (zero for normal termination) are also output.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  IF (ICALL.EQ.3) THEN
    DO WHILE(DATA)
    IF (NEWIND.LE.1) WRITE (50,*) ETA
    ENDDO
    WRITE (51,*) OBJECT
    WRITE (52,*) THETA
    WRITE (52,*) THETAFR
    WRITE (53,*) SETHET
    WRITE (53,*) SETHETR
    WRITE (54,*) OMEGA(BLOCK)
    WRITE (55,*) SEOMEG(BLOCK)
    WRITE (56,*) SIGMA(BLOCK)
    WRITE (57,*) SESIGM(BLOCK)
    WRITE (58,*) IERE,IERC
  ENDIF

Record order

Follows $SUBROUTINES.