Re: [R] R question for Stata users

From: John Fox <jfox_at_mcmaster.ca>
Date: Sat, 19 Apr 2008 19:09:50 -0400

Dear Joe,

See ?jitter.

apropos("jitter") or help.search("jitter") would have helped you to discover this.

Regards,
 John

On Sat, 19 Apr 2008 19:00:23 -0400
 Joe Trubisz <jtrubisz_at_mac.com> 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
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 19 Apr 2008 - 23:20:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 20 Apr 2008 - 02:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive