# NOT RUN {
# This function requires a series of pre-created R objects.
# We can create them by loading the example files from actel:
aux <- system.file(package = "actel")[1]
bio <- read.csv(paste0(aux, "/example_biometrics.csv"))
deployments <- read.csv(paste0(aux, "/example_deployments.csv"))
spatial <- read.csv(paste0(aux, "/example_spatial.csv"))
detections <- read.csv(paste0(aux, "/example_detections.csv"))
dot <- "A0--A1--A2--A3--A4--A5--A6--A7--A8--A9"
# Now that we have the R objects created, we can run preload:
x <- preload(biometrics = bio, deployments = deployments, spatial = spatial,
detections = detections, dot = dot, tz = "Europe/Copenhagen")
# }
Run the code above in your browser using DataCamp Workspace