custom_moves: Customise samplers for outbreaker

Description Usage Arguments Details Value Author(s) See Also

Description

This function is used to specify customised movement functions (a.k.a. samplers) for outbreaker. Custom functions are specified as a named list or series of comma-separated, named arguments, indicating which type of movement they implement. Values currently available are:

Usage

1
2
3
4
custom_moves(...)

## S3 method for class 'outbreaker_moves'
print(x, ...)

Arguments

...

A list or a series of named, comma-separated functions implementing movements of parameters or augmented data.

x

an outbreaker_moves object as returned by create_moves.

Details

Movement functions must have an argument param, which is a list of parameters and augmented data of the class create_param. Each movement function will be enclosed with its other arguments, so that the resulting function will have a single argument 'param'. For non-standard movements (i.e. none of the names specified above), the closure will contain:

Value

A list of movement functions with a single argument 'param', with class outbreaker_moves.

Author(s)

Thibaut Jombart ([email protected]).

See Also

See customization vignette for detailed examples on how to customise movement functions.


thibautjombart/outbreaker2 documentation built on July 1, 2019, 3:35 p.m.