generateReport {SHELF} | R Documentation |
Generate a report to show the fitted distributions
Description
Renders an Rmarkdown document to display the density function of each fitted distribution, the parameter values, and the R command required to sample from each distribution.
Usage
generateReport(
fit,
output_format = "html_document",
sf = 3,
expert = 1,
view = TRUE,
clean = TRUE
)
Arguments
fit |
An object of class |
output_format |
the output format for the document. One of |
sf |
number of significant figures to be displayed for the fitted parameters. |
expert |
if the |
view |
set to |
clean |
set to |
Examples
## Not run:
# One expert, with elicited probabilities
# P(X<20)=0.25, P(X<30)=0.5, P(X<50)=0.75
# and X>0.
v <- c(20,30,50)
p <- c(0.25,0.5,0.75)
myfit <- fitdist(vals=v, probs=p, lower=0)
generateReport(myfit)
## End(Not run)
[Package SHELF version 1.10.0 Index]