compile_timedep: compile_timedep

Description Usage Arguments Examples

View source: R/customize.R

Description

Allows the user to create a time-dependent rate function in C++ for use in ESTIpop. Creates the appropriate header file and compiles the source file then links into a shared object. The created shared object is used as a plugin.

Usage

1
compile_timedep(cppfile)

Arguments

cppfile

a character string giving the path name of a cpp file

Examples

1
2
3
4
## Not run: 
compile_timedep(cppfile = "./plugin.cpp")

## End(Not run)

Michorlab/estipop documentation built on March 4, 2020, 1:24 p.m.