plot.Validation | R Documentation |
This function plots the results for of a sample size analysis validation.
## S3 method for class 'Validation' plot(x, save = FALSE, path = NULL, width = 14, height = 10, bins = 20, ...)
x |
An object instance of class |
save |
A logical value indicating whether the plot should be saved to a file on disk. |
path |
A character string representing the path (i.e., including the
filename and extension) where the plot should be saved on disk. If |
width |
A single numerical value representing the desired plot width.
The default unit is inches (i.e., set by |
height |
A single numerical value representing the desired plot height.
The default unit is inches (i.e., set by |
bins |
A single positive integer passed to |
... |
Optional arguments to be passed to |
An ggplot2::ggplot object containing the plot for the validation procedure. The plot object returned can be further modified and also contains the patchwork class applied.
Example of a validation plot:
summary.Validation()
, validate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.