qq_plot() and hence appraise() uses the ideas of mgcv::qq.gam() to either generate uniform random variables and pass them through the CDF of the conditional distribution of Y, or simulates new data from the conditional distribution of Y. Both of these use calls to RNG-using functions.
To be consistent with other functions in {gratia} qq_plot() should gain a seed argument so the user can pass in a seed. appraise() should also gain this argument seed = NULL and pass it on to qq_plot().
qq_plot()
and henceappraise()
uses the ideas ofmgcv::qq.gam()
to either generate uniform random variables and pass them through the CDF of the conditional distribution of Y, or simulates new data from the conditional distribution of Y. Both of these use calls to RNG-using functions.To be consistent with other functions in {gratia}
qq_plot()
should gain aseed
argument so the user can pass in a seed.appraise()
should also gain this argumentseed = NULL
and pass it on toqq_plot()
.