plot.sample_size_comp: Plot method for the sample_size_comp function

View source: R/sample_size_comp.R

plot.sample_size_compR Documentation

Plot method for the sample_size_comp function

Description

Plot method for the sample_size_comp function

Usage

## S3 method for class 'sample_size_comp'
plot(x, ...)

Arguments

x

Return value from sample_size_comp

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/design/sample_size_comp.html for an example in Radiant

See Also

sample_size_comp to generate the results

Examples

sample_size_comp(
  type = "proportion", p1 = 0.1, p2 = 0.15,
  conf_lev = 0.95, power = 0.8
) %>% plot()


radiant-rstats/radiant.design documentation built on Jan. 19, 2024, 12:34 p.m.