This command updates the object
using the
arguments given.
# S3 method for interact
update(object, …)
Interpoint interaction (object of class "interact"
).
Additional or replacement values of parameters of object
.
Another object of class "interact"
, equivalent to object
except for changes in parameter values.
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
.
# NOT RUN {
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