This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: | |
CODECOV_TOKEN: "CODECOV_TOKEN_STRING" | |
_R_CHECK_CRAN_INCOMING_: "false" | |
_R_CHECK_FORCE_SUGGESTS_: "true" | |
APT_PKGS: "libcurl4-openssl-dev libssh2-1-dev libssl-dev libxml2-dev zlib1g-dev git" | |
before_script: | |
- apt-get update | |
- apt-get install -y --no-install-recommends ${APT_PKGS} | |
- apt-get install -y --no-install-recommends qpdf pandoc pandoc-citeproc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gg_qq <- function(x, distribution = "norm", ..., line.estimate = NULL, conf = 0.95, | |
labels = names(x)){ | |
q.function <- eval(parse(text = paste0("q", distribution))) | |
d.function <- eval(parse(text = paste0("d", distribution))) | |
x <- na.omit(x) | |
ord <- order(x) | |
n <- length(x) | |
P <- ppoints(length(x)) | |
df <- data.frame(ord.x = x[ord], z = q.function(P, ...)) |