distrib: creates a graphic distribution object

View source: R/plot-distribution.R

distribR Documentation

creates a graphic distribution object

Description

creates a graphic distribution object

Usage

distrib(
  labels,
  is.shrink,
  type = c("box", "hist"),
  is.jitter = FALSE,
  jitter = NULL,
  facets = NULL,
  histogram = NULL,
  shrink = NULL,
  dname = NULL,
  ...
)

Arguments

labels

list of texts/titles used within the plot

is.shrink

logical if TRUE add shrinkage layer

type

box for boxplot or histogram

is.jitter

logical if TRUE add jitter operator for points

jitter

list set jitter parameter

facets

list set the facet setting in case of histogram plot

histogram

list histogram graphical parameters

shrink

pmxShrinkClass shrinkage graphical parameter or list coercible into one

dname

name of dataset to be used

...

others graphics arguments passed to pmx_gpar internal object.

Details

labels is a list that contains:

  • title: plot title default "EBE distribution"

  • subtitle: plot subtitle default empty

  • x: x axis label default to "Etas"

  • y: y axis label default to empty

  • legend: legend title default to "random Effect"

shrink is a list that contains:

  • fun: shrinkage function can be sd or var

  • size: shrinkage text size

  • color: shrinkage text color

  • vjust: shrinkage position vertical adjustment

Value

distrib object

See Also

Other plot_pmx: eta_cov(), eta_pairs(), individual(), plot_pmx.distrib(), plot_pmx.eta_cov(), plot_pmx.eta_pairs(), plot_pmx.individual(), plot_pmx.pmx_dens(), plot_pmx.pmx_qq(), plot_pmx.residual(), plot_pmx_gpar_real(), plot_pmx()


ggPMX documentation built on July 9, 2023, 7:45 p.m.