| autoplot.sp_comparison | R Documentation |
Plot a comparison of real and synthetic data
## S3 method for class 'sp_comparison'
autoplot(
object,
type = c("marginals", "association", "qq", "pairs", "dcr"),
...
)
## S3 method for class 'sp_comparison'
plot(x, type = c("marginals", "association", "qq", "pairs", "dcr"), ...)
object, x |
An |
type |
What to plot: |
... |
Passed to the underlying plot function. |
autoplot() returns a ggplot (or sp_plot_list); plot()
prints it and returns it invisibly.
syn <- synthesize(iris, seed = 1)
cmp <- compare_synthetic(iris, syn, seed = 1)
plot(cmp, type = "qq")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.