[R] Still puzzled about different graph
Martin Møller Skarbiniks Pedersen
tr@xp|@yer @end|ng |rom gm@||@com
Sun Apr 25 00:27:31 CEST 2021
>
> I don't know where it says this in the docs, but generally speaking
> ggplot2 graphs don't evaluate everything until you print them. So I'd
> expect p3's two geom_path components to be identical, even though you
> changed idx.
>
> I think you can force evaluation before printing (using ggplot_build),
> but I don't think you can modify the graph after that, so you'll need
> two different variables instead of changing idx.
>
> Duncan Murdoch
Thanks. Now I understand the problem and can find a solution.
Regards
Martin
[[alternative HTML version deleted]]
More information about the R-help
mailing list