+.g2 | R Documentation |
G2 options is named
## S3 method for class 'g2'
opt1 + opt2
opt1 |
result from |
opt2 |
opt generated by |
if opt2.class is g2mark then append opt into opt1.children
if opt1.type is spaceLayer or spaceFlex: check if opt2.encode exist
if opt2.class is g2spec then modify opt1 with opt2 (spec in view or composite level)
spec of mark will not use + operation, they configured in g2_xxx()
the other option of view and composite are configured by g2()
remove elements with null value and remove empty list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.