Convert a ggproto object to a list

Share:

Description

This will not include the object's super member.

Usage

1
2
## S3 method for class 'ggproto'
as.list(x, inherit = TRUE, ...)

Arguments

x

A ggproto object to convert to a list.

inherit

If TRUE (the default), flatten all inherited items into the returned list. If FALSE, do not include any inherited items.

...

Further arguments to pass to as.list.environment.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.