/pkg/R/tableplot_checkScales.R
https://code.google.com/ · R · 10 lines · 4 code · 0 blank · 6 comment · 1 complexity · 8916f18b9e5a3664a9a8a95968e5b13f MD5 · raw file
- #' Function to check the tableplot argument: scales
- #'
- #' @aliases tableplot_checkScales
- #' @param scales scales
- #' @return scales
- #' @export
- tableplot_checkScales <- function(scales) {
- if (length(setdiff(scales, c("auto", "lin", "log")))>0) stop("<scales> should consist of auto, lin and log")
- return(scales)
- }