# NOT RUN {
# using the example results loaded with actel
getSpeeds(example.results)
# You can specify which direction of movement to extract with 'type'
getSpeeds(example.results, type = "forward")
# or
getSpeeds(example.results, type = "backward")
# and also how many events per fish (this won't change the output
# with the example.results, only because these results are minimal).
getSpeeds(example.results, n.events = "first")
# or
getSpeeds(example.results, n.events = "all")
# or
getSpeeds(example.results, n.events = "last")
# }
Run the code above in your browser using DataCamp Workspace