R/qqplot.R

Defines functions qqplot

Documented in qqplot

#'qqplot
#'Returns a ggplot object that can be costomized using grammar of graphics
#'instead of R's janky base graphics
#' @export
qqplot <- function(x){

data.frame(x = x) %>%
  ggplot(aes(sample = x)) +
  stat_qq() +
  stat_qq_line(color = "red") %>%
  return()



}
cbreenmachine/wiscR documentation built on Jan. 26, 2022, 9:10 a.m.