# This is not an example of calling set_default_arguments() directly
# (because it is an internal function), but it illustrates how user-supplied
# plotting arguments are processed via this helper.
some_data <- ulrich_flanker_data
some_stats <- calc_stats(some_data, type = "quantiles")
# See also ?plot.quantiles for more detail
plot(
some_stats,
obs.pch = 21, # optional argument 1: point type
obs.pt.bg = "black", # optional argument 2: point background
legend = c("foo", "bar") # optional argument 3: custom legend labels
)
# for a full list of optional arguments, see the Details above
Run the code above in your browser using DataLab