[R-sig-teaching] Plotting two elipses in the

Gavin Simpson gavin.simpson at ucl.ac.uk
Mon Jun 14 20:31:48 CEST 2010


Again, your question is OT for this forum! Regardless of *why* you want
to know how to plot two ellipses, your question is not about teaching
and R.

"Special Interest Group (SIG) on teaching statistics with R. The primary
purpose of the group is to provide a forum where instructors using R in
their statistics courses can share ideas, teaching materials, and
experiences. One particular focus of the SIG is to provide helpful
support to instructors new to R who are teaching introductory statistics
courses populated with students with little experience in statistics,
statistical software, and command line interfaces."

The fact that you didn't get a response to your original post is perhaps
indicative of 2 things: i) this list has a much smaller user-base than
R-Help, and ii) the current user-base of this list considered your post
OT or didn't want (for whatever reason) to answer your post.

So, please don't post such "Help" questions here, that is what the main
list is for. Anyway, having said that:

...Check out

http://cran.r-project.org/web/packages/ellipse/index.html

And, at this point, if you are going to teach people how to use R, make
sure you include tips on how to help yourself get help on R, for
example:

> RSiteSearch("ellipse", restrict = "functions")

returns the above package information as the first hit. There is a lot
you can do without having to wait for responses from the R-xxx lists.

HTH and good luck with your introductory course!

G

On Mon, 2010-06-14 at 11:11 -0700, Ali Zanaty wrote:
> Dear Gavin:
> 
> I am preparing class notes for an introduction course in R
> (undergraduate level).
> 
> I have this data and I want to know how to plotting two ellipses (one
> for each group) in the same graph.
> 
> With many thanks
> 
> 
> Ali
> 
> 
> --- On Mon, 6/14/10, Gavin Simpson <gavin.simpson at ucl.ac.uk> wrote:
>         
>         From: Gavin Simpson <gavin.simpson at ucl.ac.uk>
>         Subject: Re: [R-sig-teaching] Plotting two elipses in the
>         To: "Ali Zanaty" <zanaty2005 at yahoo.com>
>         Cc: r-sig-teaching at r-project.org
>         Date: Monday, June 14, 2010, 5:33 PM
>         
>         You are posting to the *wrong* list! Your question has nothing
>         to do
>         with Teaching and R?
>         
>         Please post on the main R-Help mailing list.
>         
>         G
>         
>         On Mon, 2010-06-14 at 10:19 -0700, Ali Zanaty wrote:
>         > Dear All R Users: 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > What I need to do is to plot two elipses in the same graph
>         (one for
>         > each group). You can use either X1 or X2 as the X-axis and
>         the other
>         > variable as the Y-axis.
>         > 
>         > 
>         > 
>         > Also I need to show the 95% C.I. or P.I. of the overlapping
>         part of the two elipses.
>         > 
>         > 
>         > 
>         > With many thanks. 
>         > 
>         > 
>         > 
>         > Data can be found at 
>         > 
>         > 
>         > 
>         > http://www.usm.maine.edu/~aaboueissa/Rhelps/dataelipse.txt
>         > 
>         > 
>         > 
>         > 
>         > 
>         > Thank you so much for your helps.
>         > 
>         > 
>         > 
>         > Ali
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         > 
>         >       
>         >     [[alternative HTML version deleted]]
>         > 
>         > _______________________________________________
>         > R-sig-teaching at r-project.org mailing list
>         > https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>         
>         -- 
>         %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~
>         %~%~%~%
>         Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
>         ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
>         Pearson Building,             [e]
>         gavin.simpsonATNOSPAMucl.ac.uk
>         Gower Street, London          [w]
>         http://www.ucl.ac.uk/~ucfagls/
>         UK. WC1E 6BT.                 [w]
>         http://www.freshwaters.org.uk
>         %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~
>         %~%~%~%
>         
>         
> 

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-sig-teaching mailing list