Learn R Programming

spatstat (version 1.55-0)

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

Description

update method for class "rmhcontrol".

Usage

# S3 method for 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.

Value

Another object of class "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.

Examples

Run this code
# NOT RUN {
  a <- rmhcontrol(expand=1)
  update(a, expand=2)
# }

Run the code above in your browser using DataLab