
Last chance! 50% off unlimited learning
Sale ends in
Lists distr6 distributions in a data.table or a character vector, can be filtered by traits and implemented package.
listDistributions(simplify = FALSE, filter = NULL)
logical. If FALSE (default) returns distributions with traits as a data.table, otherwise returns distribution names as characters.
list to filter distributions by. See examples.
Either a list of characters (if simplify
is TRUE) or a data.table of SDistribution
s and their traits.
# NOT RUN {
listDistributions()
# Filter list
listDistributions(filter = list(VariateForm = "univariate"))
# Filter is case-insensitive
listDistributions(filter = list(VaLuESupport = "discrete"))
# Multiple filters
listDistributions(filter = list(VaLuESupport = "discrete", package = "extraDistr"))
# }
Run the code above in your browser using DataLab