Get or view the names of available plotting or data functions
available_ppc(pattern = NULL, fixed = FALSE, invert = FALSE, plots_only = TRUE)available_ppd(pattern = NULL, fixed = FALSE, invert = FALSE, plots_only = TRUE)
available_mcmc(
pattern = NULL,
fixed = FALSE,
invert = FALSE,
plots_only = TRUE
)
A possibly empty character vector of function names with several
additional attributes (for use by a custom print method). If pattern
is missing then the returned object contains the names of all available
plotting functions in the MCMC, PPC, or PPD module, depending on
which function is called. If pattern
is specified then a subset of
function names is returned.
Passed to base::grep()
.
If TRUE
(the default) only plotting functions are
searched for. If FALSE
then functions that return data for plotting
(functions ending in _data()
) are also included.
available_mcmc()
available_mcmc("nuts")
available_mcmc("rhat|neff")
available_ppc()
available_ppc("grouped")
available_ppc("grouped", invert = TRUE)
available_ppd()
available_ppd("grouped")
# can also see which functions that return data are available
available_ppc(plots_only = FALSE)
# only show the _data functions
available_ppc("_data", plots_only = FALSE)
available_ppd("_data", plots_only = FALSE)
available_mcmc("_data", plots_only = FALSE)
Run the code above in your browser using DataLab