# NOT RUN {
# normal distribution
pdfunc(model = "norm", xmin = -4, xmax = 4)
# Cauchy distribution
pdfunc(model = "Cauchy", xmin = -4, xmax = 4)
# Pearson distribution
pdfunc(model = "Pearson", shape = 2, xmin = -4, xmax = 4)
# exponential distribution
pdfunc(model = "exp", xmin = 0, xmax = 8)
pdfunc(model = "exp", xmin = -4, xmax = 4)
# Chi-square distribution
pdfunc(model = "Chi2", df = 3, xmin = 0, xmax = 8)
# double exponential distribution
pdfunc(model = "dexp", xmin = -4, xmax = 2)
# uniform distribution
pdfunc(model = "unif", xmin = 0, xmax = 1)
# }
Run the code above in your browser using DataCamp Workspace