getTimes | R Documentation |
Extract timestamps from the analysis results.
getTimes(
input,
locations = NULL,
move.type = c("array", "section"),
event.type = c("arrival", "departure"),
n.events = c("first", "all", "last")
)
input |
An actel results object generated by |
locations |
The names of the arrays or sections to be included. If left NULL, information for all arrays/sections is extracted. |
move.type |
The type of events to record: one of "array" or "section". |
event.type |
The point to be recorded: one of "arrival" or "departure". |
n.events |
The events to record. One of "first", "all", or "last". |
A data frame with the timestamps for each tag (rows) and array (columns)
# using the example results loaded with actel
getTimes(example.results)
# You can specify which events to extract with 'event.type'
getTimes(example.results, event.type = "arrival")
# or
getTimes(example.results, event.type = "departure")
# and also how many events per tag.
getTimes(example.results, n.events = "first")
# or
getTimes(example.results, n.events = "all")
# or
getTimes(example.results, n.events = "last")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.