Learn R Programming

pomp (version 0.43-4)

pompBuilder: Write, compile, link, and build a pomp object using native codes

Description

pompBuilder is an EXPERIMENTAL facility for producing compiled pomp objects.

Usage

pompBuilder(data, times, t0, name, statenames, paramnames, 
            tcovar, covar,
            rmeasure, dmeasure, step.fn, step.fn.delta.t,
            skeleton, skeleton.type, skelmap.delta.t = 1,
            parameter.transform, parameter.inv.transform,
            ..., link = TRUE)

Arguments

Value

  • The constructed pomp object. A side-effect is the writing and compilation of a C code into a shared-object library. These files will reside in the current working directory (see getwd). If pompBuilder has been called with link=FALSE, this shared-object library must be linked (see dyn.load) before the pomp object can be used.

Details

pompBuilder assumes that files can be written to the current working directory and that shared-object libraries can be compiled and linked, i.e., that R CMD SHLIB will work. This will not typically be the case in out-of-the-box Windows installations.

See Also

pomp and the demos.

Examples

Run this code
## see the demos

Run the code above in your browser using DataLab