From 4bccff7c7bbaf977830fa3e1972e204ea8ef6757 Mon Sep 17 00:00:00 2001 From: Todd Hayden Date: Fri, 5 Jan 2024 13:33:19 -0500 Subject: [PATCH] fixed data.table bug that resulted in wrong location column output when summ_type = animal --- R/summ-summarize_detections.r | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/summ-summarize_detections.r b/R/summ-summarize_detections.r index 0ea63d83..e0849387 100644 --- a/R/summ-summarize_detections.r +++ b/R/summ-summarize_detections.r @@ -126,14 +126,14 @@ #' @examples #' #' #get path to example detection file -#' det_file <- system.file("extdata", "walleye_detections.csv", -#' package = "glatos") -#' det <- read_glatos_detections(det_file) +#' det_file <- system.file("extdata", "walleye_detections.csv", +#' package = "glatos") +#' det <- read_glatos_detections(det_file) #' #' #Basic summaries #' #' # by animal -#' ds <- summarize_detections(det) +#' ds <- summarize_detections(det) #' #' # by location #' ds <- summarize_detections(det, summ_type = "location")