Description Usage Arguments Details Value
View source: R/css-style-to-gp-vp.R
This converts a gpar object to a 1-row data.frame representation. This is used when accumulating a data.frame representation to return to the user.
1 | gpar_to_df(gp)
|
gp |
gpar object with a single specification. no vectors allowed |
Linear and Radial gradient objects are replaced with their first colour.
Although this could be something fancier e.g. list object, or some text
representation of the gradient parameters. Maybe just deparse1()
?
data.frame with single row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.