plot.BetaUniformModel: Plot summary for fitted Beta-Uniform models

View source: R/plot.BetaUniformModel.R

plot.BetaUniformModelR Documentation

Plot summary for fitted Beta-Uniform models

Description

Produce a list of summary ggplots. The default print method produces a grid panel, or you can extract and use them at your wish.

Usage

## S3 method for class 'BetaUniformModel'
plot(
  x,
  showFit = TRUE,
  outputParameters = TRUE,
  outputFormula = TRUE,
  studyName = NULL,
  ...
)

Arguments

x

A BetaUniformModel fit of data

showFit

Flag to specify if you would like the Beta-Uniform model formula outputted as well (default: TRUE)

outputParameters

Flag to specify if the plot should list the fitted parameters for the model (defualt:TRUE)

outputFormula

Flag to specify if you would like the Beta-Uniform model formula outputted as well (default: TRUE)

studyName

Subtitle for plots (default: variable name of x passed in)

...

Ignored

Details

These should assist in diagnosing good or poor model fit.

Value

A named list with three ggplots: p-value distribution; QQplot of P-values against a the fitted mixture model and liklihood surface of paramter estimates.


adamsardar/metaDEGth documentation built on Sept. 28, 2022, 10:12 p.m.