Description Usage Arguments Details Value Examples
The data and initial ggpot()
call are stored as a list (call) with
attribute (data).
1 | lhs %g<% rhs
|
lhs |
LHS of call |
rhs |
RHS of call |
The data must be passed into the ggplot
call directly.
Passing this in via a magrittr pipe remains as a future improvement. The
newly created ggghost
object is a list of length 1 containing the
ggplot
call, with attribute data
; another list, containing
the data_name
and data
itself.
Assigns the ggghost
structure to the lhs
symbol.
1 2 3 4 | ## create a ggghost object
tmpdata <- data.frame(x = 1:100, y = rnorm(100))
z %g<% ggplot(tmpdata, aes(x,y))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.