If you really need a package then you could use the animate package to
create a movie that is just the 2 graphs "blinking" back and forth.
But you really don't need a package.
One simple option would be a for loop that creates the 1st plot, calls
Sys.sleep, creates the 2nd plot, then calls Sys.sleep.
Probably a little better would be to just use a graphics device that
has history turned on (which may depend on what OS you are on and what
interface you are using). Turn on the history option if needed, then
create the 2 plots and use the history mechanism to switch back and
forth, or load both into a program like GIMP or Photoshop on different
layers and toggle the visibility of the top plot to blink between
them.
In any of these cases it will be important to make sure that the plots
line up so that the point that don't change don't move. specifying an
exact ylim and xlim will usually suffice.
> --
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
>
https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email
ggp...@googlegroups.com
> To unsubscribe: email
ggplot2+u...@googlegroups.com
> More options:
http://groups.google.com/group/ggplot2
>
> --- You received this message because you are subscribed to the Google
> Groups "ggplot2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
ggplot2+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Gregory (Greg) L. Snow Ph.D.
538...@gmail.com