This function creates the functions needed to run the various case studies. That means it generates two data sets the are equal with respect to three out of these four: mean, variance, skewness and kurtosis, and differ in the other. If which_diff=mixed, all are different.
case_studies(
which,
which_diff = "mean",
data_type = "cont",
n = 500,
nbins = 50,
funs_list,
ReturnCaseNames = FALSE
)a function that generates data sets
name of the case study.
="mean", name of parameter in which data sets differ.
="cont", is data continuous or discrete?
=500, sample sizes.
=50, number of bins for discrete data
list of alternative functions
=FALSE, should list of case studies be returned?