# Set file path
filepath <- system.file("extdata", package = "FishDiveR")
# Run plot_TDR function
TDR_plot <- plot_TDR(
rds_file = "data/archive_days.rds",
data_folder = filepath,
every_nth = 10,
every_s = 0,
plot_size = c(12, 6),
X_lim = NULL,
Y_lim = c(0, 300, 50),
date_breaks = "24 hour",
dpi = 100,
output = TRUE,
output_folder = tempdir(),
verbose = TRUE
)
Run the code above in your browser using DataLab