Skip to content

Commit

Permalink
modify plot fun
Browse files Browse the repository at this point in the history
  • Loading branch information
MatGreco90 committed Mar 2, 2024
1 parent bc5ea1f commit 62c7e3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/plot_record_by_depth.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' @import tidyr
#' @import rlang
#' @importFrom stats reorder
#'

plot_record_by_depth <- function(data) {
if (get_data_type(data) %in% c("CPR North","CPR South","Sediment trap","Pump")) {
stop("This function is designed to work only with Net data", call. = FALSE)
Expand Down
2 changes: 1 addition & 1 deletion R/plot_record_by_season.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' @import ggplot2
#' @import dplyr
#' @import rlang
#'

plot_record_by_season <- function(data) {
if (get_data_type(data)=="Sediment trap"){
data$sampling_month=as.numeric(sub("^\\d{2}/(\\d{2})/\\d{4}$", "\\1",
Expand Down

0 comments on commit 62c7e3e

Please sign in to comment.