Description Usage Arguments Details Examples
View source: R/ModelAnalysis.R
Plot results of a model fit
1 2 |
fit |
Object that results fof class |
type |
String indicated the type of figure to plot. See "details". |
prob |
Probability use to calculate prediction intervals for the plot of type "response". |
... |
Other arguments to the function "predict" for plots of type "response" |
Three types of plots are supported, depending on the string assigned to the argument
type
:
1. type = "response"
: This will plot the measured response curve (as points),
the median prediction and the quantile intervals for the mean and for future observations
(i.e. taking into account measurement error) for the given probability (argument prob
).
2. type = "marginal"
" This will be display density plots for every marginal distribution
in the posterior.
3. type = "pairs"
: This will display contour plot of probability density for each
pair of parameters, the marginal distributions (as in the previous type) and the correlation
between every pair of parameters (using Pearson's correlation coefficient).
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.