methods.traj | R Documentation |
Methods for objects of class "traj"
.
## S3 method for class 'traj'
print(x, ...)
## S3 method for class 'traj'
plot(x, ..., show.ends=TRUE, add=FALSE, xlab=NULL, ylab=NULL)
## S3 method for class 'traj'
lines(x, ..., directed=FALSE)
x |
Object of class |
... |
Additional arguments passed to other methods. |
directed |
Logical value specifying whether to draw arrows instead of undirected lines. |
show.ends |
Logical value specifying whether to indicate the start and finish of the trajectory. The start is a blue circle; the finish is a red cross. |
add |
Logical value specifying whether to draw the trajectory on the
existing plot ( |
xlab , ylab |
Optional labels for the horizontal and vertical axes. |
An object of class "traj"
represents
the history of evaluations of the objective function
performed when a cluster process model was fitted.
It is a data frame containing the input parameter values for
the objective function, and the corresponding value of the objective
function, that were considered by the optimisation algorithm.
These functions are methods for the generic
print
, plot
and lines
.
Null.
.
traj
fit <- kppm(redwood, pspace=list(save=TRUE))
h <- traj(fit)
h
plot(h)
lines(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.