disc_track: Manually track a larva

Description Usage Arguments See Also Examples

View source: R/disc_track.R

Description

Use the manual tracking plugin to record a track

Usage

1
disc_track(dir, sub = NULL, verbose = FALSE, ...)

Arguments

dir

deployment directory

sub

subsampling interval, in s

verbose

output messages on the console when TRUE

...

passthrough argument

See Also

Other action.functions: disc_calibrate, disc_camera_compass_angle, disc_correct, disc_stats, disc_track_compass, disc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# get example deployments included with the package
deploys <- system.file("extdata", "deployments", package = "discr")
# copy them to a writable, temporary directory
temp <- tempdir()
file.copy(deploys, temp, recursive=TRUE)
dd <- paste0(temp, "/deployments/")
deploy1 <- paste0(dd, "1")

# run the action
disc_conf(deploy.dir=dd)
## Not run: disc_track(dir=deploy1, verbose=TRUE)
# inspect results
list.files(deploy1)
head(read.csv(paste0(deploy1, "/larvae_tracks.csv")))

jiho/discr documentation built on May 19, 2019, 9:30 a.m.