#'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()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.