Plot method for the sample_size_comp function
# S3 method for sample_size_comp plot(x, ...)
x | Return value from |
---|---|
... | further arguments passed to or from other methods |
See https://radiant-rstats.github.io/docs/design/sample_size_comp.html for an example in Radiant
sample_size_comp
to generate the results
sample_size_comp( type = "proportion", p1 = 0.1, p2 = 0.15, conf_lev = 0.95, power = 0.8 ) %>% plot()