plot.simss | R Documentation |
Generates a detailed plot showing the relationship between power and total sample size for each comparator and the overall combined comparators. The plot also includes confidence intervals for power estimates and highlights the target power with a dashed line for easy visual comparison.
## S3 method for class 'simss'
plot(x, ...)
x |
An object of class |
... |
Additional arguments to be passed to the |
The plot dynamically adjusts to exclude unnecessary components, such as redundant endpoints or comparators with insufficient data, ensuring clarity and simplicity.
The ggplot2
framework is used for visualizations, allowing further customization if needed.
A ggplot
object illustrating:
Power (y-axis) vs. Total Sample Size (x-axis) for individual endpoints and comparators.
Error bars representing the 95% confidence interval of the power estimates.
A dashed horizontal line indicating the target power for comparison.
Faceted panels for each comparator, making it easy to compare results across different groups.
Johanna Muñoz johanna.munoz@fromdatatowisdom.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.