Generic plot function for IQRsimres objects

Generic plot function for IQRsimres objects

# S3 method for class 'IQRsimres'
plot(x, ..., scales = "free", facet = "wrap", legend = TRUE)

Arguments

x

IQRsimres object

...

Not used

scales

The scales argument of facet_wrap or facet_grid, i.e. "free", "fixed", "free_x" or "free_y"

facet

Either "wrap" or "grid"

legend

TRUE or FALSE - switches legend on or off. Legend based on individual subject simulations (ID). Off always if one ID only and more than 10.

Value

A plot object of class ggplot