Skip to content

Commit

Permalink
Add imports to plot_fn_obj
Browse files Browse the repository at this point in the history
  • Loading branch information
BrittanyTroast-NOAA committed Feb 10, 2025
1 parent e99e9f9 commit 4ff18e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ export(hello)
export(hello2)
export(plot_fn_obj)
import(dplyr)
import(ggplot)
import(plotly)
5 changes: 5 additions & 0 deletions R/plot_fn_obj.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#' @description
#' This function plots an indicator time series figure from data that is formated from the "data_prep" function in IEAnalyzeR.
#'
#' @import ggplot
#' @import plotly
#'
#' @param df_obj Data object produced by the "data_prep" function.
#' @param interactive Run plot through plotly to create an interactive version of the plot.
Expand Down Expand Up @@ -66,3 +68,6 @@ plot_fn_obj<-function(df_obj, interactive=FALSE) {
plot_sec
}
}



0 comments on commit 4ff18e7

Please sign in to comment.