plot.hrest {besthr}R Documentation

plots the hrest object

Description

returns a ggplot object representing the hrest object from estimate. The content of left panel varies according to the value of the which parameter. If which = "rank_simulation" is used a plot of rank score values will be plotted in the left panel. In this case technical replicates will be averaged if provided. If which = "just_data" a plot of scores only is created and technical replicates are displayed as is. In each case, the right hand panel shows the rank bootstrap distribution and confidence interval boundaries for all non- control groups.

Usage

## S3 method for class 'hrest'
plot(x, ..., which = "rank_simulation")

Arguments

x

the hrest object from estimate

...

Other parameters

which

the type of left hand panel to create. Either "rank_simulation" or "just_data"

Value

ggplot object

Examples


 d1 <- make_data()
 hr_est <- estimate(d1, score, group)
 plot(hr_est)


[Package besthr version 0.3.2 Index]