update.rmhcontrol: Update Control Parameters of Metropolis-Hastings Algorithm

View source: R/rmhcontrol.R

update.rmhcontrolR Documentation

Update Control Parameters of Metropolis-Hastings Algorithm

Description

update method for class "rmhcontrol".

Usage

  ## S3 method for class 'rmhcontrol'
update(object, ...)

Arguments

object

Object of class "rmhcontrol" containing control parameters for a Metropolis-Hastings algorithm.

...

Arguments to be updated in the new call to rmhcontrol.

Details

This is a method for the generic function update for the class "rmhcontrol". An object of class "rmhcontrol" describes a set of control parameters for the Metropolis-Hastings simulation algorithm. See rmhcontrol).

update.rmhcontrol will modify the parameters specified by object according to the new arguments given.

Value

Another object of class "rmhcontrol".

Author(s)

\adrian

and \rolf

Examples

  a <- rmhcontrol(expand=1)
  update(a, expand=2)

spatstat.random documentation built on Oct. 22, 2023, 1:17 a.m.