Skip to content

Commit

Permalink
Import the right functions
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroguarderas committed Oct 26, 2023
1 parent a8f496d commit 5ec67ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ importFrom(data.table,setnames)
importFrom(ggplot2,"%+%")
importFrom(ggplot2,aes)
importFrom(ggplot2,element_blank)
importFrom(ggplot2,element_line)
importFrom(ggplot2,element_rect)
importFrom(ggplot2,element_text)
importFrom(ggplot2,geom_bar)
Expand All @@ -47,6 +48,7 @@ importFrom(ggplot2,scale_size_manual)
importFrom(ggplot2,scale_y_continuous)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_minimal)
importFrom(ggplot2,unit)
importFrom(ggplot2,xlab)
importFrom(ggplot2,ylab)
importFrom(grDevices,colorRampPalette)
Expand Down
2 changes: 1 addition & 1 deletion R/plot_simulation_weight.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#' @author Pedro Guarderas
#' @seealso \code{\link{sim_const_weights}} \code{\link{sim_weights}}
#' @importFrom ggplot2 %+% ggplot geom_line scale_colour_manual geom_boxplot geom_point geom_text
#' xlab ylab theme_minimal scale_y_continuous theme ggtitle
#' xlab ylab theme_minimal scale_y_continuous theme ggtitle unit element_line element_blank
#' @importFrom grDevices colorRampPalette colors
#' @export
plot_sim_weight <- function( S, title = 'Simulations', xlab = 'ID', ylab = 'Utility',
Expand Down

0 comments on commit 5ec67ef

Please sign in to comment.