[R] R question for Stata users
Marc Schwartz
marc_schwartz at comcast.net
Sun Apr 20 01:09:56 CEST 2008
Joe Trubisz wrote:
> Hi...
>
> In Stata, there is the ability to display scatter plots with data
> points at the same (x,y)
> location, using the 'jitter' command of the twoway scatter stata
> command.
>
> Anyone know of a way that I can do the equivalent thing in R?
>
> For non-Stata readers, if jitter is enabled in stata, and n-points
> would be at
> the same (x,y) location, the points are offset a bit (according to
> the jitter parameter)
> and you see all the points, though slightly offset from the original
> location.
>
> Thanks,
> Joe
The same way.
See ?jitter, which:
help.search("jitter")
would have pointed you to.
HTH,
Marc Schwartz
More information about the R-help
mailing list