Usage
quad_init(position, data = waiver(), ...)
Arguments
- position
A string of
"top"
,"left"
,"bottom"
, or"right"
indicates which annotation stack should be initialized.- data
Default dataset to use for the annotation stack. If not specified, a dataset must be provided for each plot added to the layout. Possible values:
waiver()
: try to inherit from thequad_layout()
.NULL
: no data for the annotation stack.Any data which can be coerced by
fortify_matrix()
/fortify_data_frame()
Data conversion depends on whether the annotation stack will align the observations:
If aligned,
fortify_matrix()
will be applied to convert the data into a matrix.If not aligned,
fortify_data_frame()
will be used to convert the data into a data frame.
- ...
Additional arguments passed to
fortify_matrix()
orfortify_data_frame()
.