Use ggplot examples

gg_example_path(example = NULL)

Arguments

example

character, name of the example, NULL prints message containing names of all examples

Value

S3 object with class fs_path (wraps character), path to R file identified by example