Hi,
I am working on creating a custom geom::Stat and am looking for advises. This new stat needs to operate at the group level, so my ggproto object has a compute_group
level. However, in some circumstances, the compute_group
function would need to know the range of x and y data in the whole panel (not just the group). What would be the best way to pass this information onto the compute_group
function?
Thanks n advance for your suggestions