Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot_diagnostic

Diagnostic plots for ash object


Description

Generate several plots to diagnose the fitness of ASH on the data

Usage

plot_diagnostic(
  x,
  plot.it = TRUE,
  sebetahat.tol = 0.001,
  plot.hist,
  xmin,
  xmax,
  breaks = "Sturges",
  alpha = 0.01,
  pch = 19,
  cex = 0.25
)

Arguments

x

the fitted ash object

plot.it

logical. whether to plot the diagnostic result

sebetahat.tol

tolerance to test the equality of betahat

plot.hist

logical. whether to plot the histogram of betahat when sebetahat is not constant

xmin, xmax

range of the histogram of betahat to be plotted

breaks

histograms parameter (see hist)

alpha

error level for the de-trended diagnostic plot

pch, cex

plot parameters for dots

Details

None.


ashr

Methods for Adaptive Shrinkage, using Empirical Bayes

v2.2-47
GPL (>= 3)
Authors
Matthew Stephens [aut], Peter Carbonetto [aut, cre], Chaoxing Dai [ctb], David Gerard [aut], Mengyin Lu [aut], Lei Sun [aut], Jason Willwerscheid [aut], Nan Xiao [aut], Mazon Zeng [ctb]
Initial release
2020-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.