Skip to contents

Model Code Wrapper for RTMB

Usage

model_code(expr, env = parent.frame())

Arguments

expr

A block of code containing model description.

env

Environment to assign to the generated function.

Value

A standard R function object taking (dat, par).