Replies: 2 comments 13 replies
-
Yes it is for technical reasons. The operators are a bit weird in terms of how OOP (S3/S4) is implemented on both the left-hand as well as the right-hand side, I think. There is already behaviour on how |
Beta Was this translation helpful? Give feedback.
-
I'm wondering about the '.' behavior that you can do to retrieve current in layers for the proposed data_replace() function.
In the pipeline below, I'd wondered about replacing doubly highlighted part with a dot, i.e. referring to the current plot data (which is a filtered to artist == "Stevie Wonder" instead refiltering in the replace data step (all the way back to data_replace is defined w/ ggplot_add method: data_replace <- function(data) { ggplot_add.wipedata <- function(object, plot, object_name) { plot$data <- object$new_data_specification } |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just wonder about this operator for new data sometimes. Seems ggplot2 is so verbal and then there's this guy. Is it for technical reasons? Just curious!
Beta Was this translation helpful? Give feedback.
All reactions