Q-Q plot coordinates against a reference distribution
Value
data.frame with rank, empirical, theoretical, plotting_position columns (Blom 1958 plotting positions).
Examples
set.seed(2026)
x <- rnorm(100)
qq <- mrm_qq_plot(x, dist = "norm")
head(qq)
#> rank empirical theoretical plotting_position
#> 1 1 -2.546881 -2.498591 0.006234414
#> 2 2 -2.516089 -2.139206 0.016209476
#> 3 3 -1.958513 -1.940087 0.026184539
#> 4 4 -1.824355 -1.797103 0.036159601
#> 5 5 -1.799929 -1.683547 0.046134663
#> 6 6 -1.734397 -1.588296 0.056109726
# plot(qq$theoretical, qq$empirical); abline(0, 1)