hist.ModelFit: p value histogram

Description Usage Arguments Value Author(s)

View source: R/model_fit.R

Description

create a histogram for p values of model fit result returned by model_fit

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'ModelFit'
hist(
  x,
  vline,
  bins = 40,
  color = "white",
  fill = "gray10",
  vline_linetype = "dashed",
  vline_size = 0.5,
  vline_color = "gray30",
  ...
)

Arguments

x

ModelFit. Must be returned by model_fit

vline

p value where vertical line to draw

bins

numeric. Total number of bins

color

character for bin outline colors

fill

character for bin fill colors

vline_linetype

character for vline linetype

vline_size

numeric for vline size

vline_color

character for vline color

...

other args

Value

ggplot

Author(s)

Chenghao Zhu


zhuchcn/HTSet documentation built on April 10, 2020, 4:51 p.m.