Learn R Programming

spatstat (version 1.48-0)

update.interact: Update an Interpoint Interaction

Description

This command updates the object using the arguments given.

Usage

"update"(object, ...)

Arguments

object
Interpoint interaction (object of class "interact").
...
Additional or replacement values of parameters of object.

Value

Another object of class "interact", equivalent to object except for changes in parameter values.

Details

This is a method for the generic function update for the class "interact" of interpoint interactions. It updates the object using the parameters given in the extra arguments ....

The extra arguments must be given in the form name=value and must be recognisable to the interaction object. They override any parameters of the same name in object.

See Also

update.ppm

Examples

Run this code
  Str <- Strauss(r=1)
  Str
  update(Str, r=2)

  M <- MultiStrauss(radii=matrix(1,2,2))
  update(M, types=c("on", "off"))

Run the code above in your browser using DataLab