wrapperTraj | R Documentation |
Run three steps of trajectory analysis with default parameters.
wrapperTraj(Data, ID = FALSE)
Data |
Data frame containing trajectory data.
Each line should contain sequential observations. See details and help file for the |
ID |
Logical. Set to |
The function runs the full three step trajectory analysis and returns a traj
object.
It will execute step1measures
, step2factors
and step3clusters
sequentially with their default parameters. The result of step3clusters
will be returned. Details regarding
the data
and the time
arguments are found in the 'Details' section of step1measures
.
The result is a traj
object. Details can be found in the 'Value' section of step3clusters
.
Marie-Pierre Sylvestre, Dan Vatnik
marie-pierre.sylvestre@umontreal.ca
## Not run:
# Setup data
data = example.data$data
# Run clustering wrapper function
wt = wrapperTraj(data, ID = TRUE)
# Display and plot "traj" object
wt
summary(wt)
plot(wt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.