Displaying 20 results from an estimated 2000 matches similar to: "Draw ellipses in S-PLUS or R?"
2002 Jun 19
4
drawing ellipses
Hello again,
First I want to thank all the people who answered my question about line
width in graphs. I promise I will learn the 'par' help page by heart for
the end of the month !
I now want to trace some ellipses to emphasize groups of data. I found how
to trace circles with 'symbols()', but no ellipse. I'm planning on writing
my own function based on
2002 Oct 22
1
Re: [S] Draw ellipses in S-PLUS or R?
Many thanks to Andy Liaw for quickly reminding me of "ellipse"
package in CRAN. It is apparently what I wanted. Not sure whether
it will work in S-PLUS or not. But I will give it a try.
Thank you.
Paul.
>
> Have you checked CRAN? There's an "ellipse" package on CRAN for quite a
> while.
>
> Andy
>
> > -----Original Message-----
> > From:
2009 Aug 05
1
overlap two graph
Hi everyone,I need you all help.
I want to create few image in same diagram.
For example, I wan draw two ellipse in same diagram.
plot(ellipsePoints(2,5, alpha = 60), asp=1)
and
plot(ellipsePoints(2,5, alpha = 30), asp=1)
How to display both ellipse together? both is different in angle.
Thank you.
--
Hemavathi Ramulu
[[alternative HTML version deleted]]
2007 Sep 24
2
calculating/plotting error ellipses
hello,
sorry for posting what may be a simple question:
i do have a matrix of coordinates (positional judgments, see below) and
now want to calculate and plot the corresponding error ellipse.
can anyone help me with the exact steps/syntax?
> xyDat
X Y
1 -0.49 -2.13
2 0.91 0.48
3 0.20 -2.80
4 -0.76 -3.23
5 -0.36 2.50
6 1.38 1.24
7
2008 Apr 13
1
plotting muliple CI ellipses for EB estimates
I have empirical Bayes estimates for slopes and intercepts for a number of
subjects and I would like to plot the slopes and intercepts with confidence
ellipses. These ellipses would be based on the confidence intervals for the
slope and intercepts (forming the major and minor axis of each ellipse), and
the correlation in the slope and intercepts.
The ellipse function in the car library
2000 Mar 22
4
density ellipses?
Hello,
has anybody written a function to plot density ellipses (95%, 99% or
anything) in a scatterplot? I found nothing in any package, nor in the list
archives.
There does seem to be a contributed package "ellipse" for S-Plus (on
S-Archive), but it does a lot more than what I would need. Still, if anybody
ported it to R, I'd be grateful for a link. I'm a bit afraid to try the
2007 Oct 01
1
Adding circles or ellipses to graphs
Hello,
I'm developing an ordination using metaMDS (package vegan). The analysis
identifies 3 distinct groups that I'd like to define by either adding
circles or ellipses to help identify the groups. The data set is a
spatial temporal data base depicting change in each of 4 areas over 3
time periods.
I can add lines that would link each of the time - x - area
trajectories, but
2011 Aug 10
1
Plotting Ellipses and Points of Matching Colors in an Ordination
Hello, R-Help -
I am trying to plot the results of an ordination from package vegan. The
tricky part for me right now is getting the colors of the ellipses denoting
the 95% confidence intervals of the group centroids to match the colors of
the points for those same groups.
>From and earlier post, I saw the code to make a plot of the ordination using
different colors for my different groups.
2004 Oct 17
2
Plotcorr: colour the ellipses to emphasize the differences
Hello R users!
I began with R and I must say that it is really nice. I have data with a lot of variables
and have a problem to extract the pattern from correlation matrix. So I tried with plotcorr
and it went fine. While I was reading the help page of this function, I found that ellipse
display can be even better with use of different colors (the code is bellow). However I have
a problem to
2004 Nov 04
2
biplot drawing conc ellipses
Is there an option to draw concentration ellipses in biplots ? It seems
really nice to summarize large number of points of each group.
Cheers../ Murli
2009 Oct 20
1
how to draw stacked ellipses to illustrate the shared and specific of multiple objects using R
Dear R-help listers,
I am now asking for helps on how to draw stacked ellipses to
illustrate the shared and specific of multiple objects using R.
My problem comes from my population genetics study. Now, I genotyped
three species, and I get known about the amount of shared and specific
haplotypes in each of the species and their combinations. I want to
illustrate this result in three stack
2013 Jan 26
2
confidence / prediction ellipse
Hi,
I'm using the R library(car) to draw confidence/prediction ellipses in a
scatterplot.
>From what i understood the ellipse() function return an ellipse based
parameters: shape, center, radius .
If i read dataEllipse() function i can see how these parameters are
calculated for a confidence ellipse.
ibrary(car)
a=c(12,12,4,5,63,63,23)
b=c(13,15,7,10,73,83,43)
v <-
2011 May 28
2
Observation in a confidence ellipse
Hello everyone
I really need some help here. I made a confidence ellipse using the function ellipse from the package ellipse:
ellipse(SD, centre=colMeans(pcsref),t=sqrt((p * (n-1)/(n-p))*qf(0.99, p,n-p))
Now, I want to write a function whom return TRUE or FALSE if a given observation is in the confidence ellipse. But I have no clue how to do it
Can anyone help me?
Best regards
Jessica
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers!
I am using lowess to smooth a scatter plot,
xx<-lowess(xinput,f=.04) #defaults for other args
followed by
turnpoints(xx$y) #defaults for other args
I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw
data plot.
Result is exactly as expected, graphically.
For another purpose, I calcuate the difference between turnpoints (representing
2013 Sep 15
1
DataEllipse versus Ellipse Function in R
Hi:
Does Ellipse and dataellipse function in R produce the same ellipse? I
wanted to see how the radius for the Ellipse function in R calculated. Also
what is the var-covariance matrix, if any, assumed for the dataellipse
function? Heres an example of the code where I am generating Multivariate
normal data and creating ellipse using the 2 functions:
library(car)
library(mvtnorm)
mu =
2005 Aug 18
2
how to draw an ellipse
That's probably a stupid question, but I'm looking for a low-level
command which plots ellipse, specifying only center and deformation
axes. The purpose is to illustrate bivariates gaussians with 2D .95
confident levels without using any specific library.
Thanxs for your help,
Guillaume
2013 Jan 22
3
Ellipse in PCA with parameters "a" and "b"defined.
Hi,
I have to construct an ellipse interval region on a PCAbiplot, I have my
parameters "a" and "b" and I would apply the formula:
draw.ellipse(x, y, a = , b = )
I have done a PCA on my data so I have my scores and loading for the first
and second component, but my answer is what I have to choose as X and Y into
the formula?
if "a" and "b" are scalars or
2004 Oct 27
3
ploting an ellipse keeps giving errors
library (ellipse)
shape1 = c (1, 0, 0,1)
dim(shape1) = c(2,2)
ellipse (center = c(0,0), shape = shape1, radius = 1)
=============================
Error in plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) :
plot.new has not been called yet
It is really frustrating. Also what do the shape matrix, radius correspond to an ellipse function
(x-x0)^2/a + (y-y0)^2/b = 1
?
2013 Jul 20
2
Different x-axis scales using c() in latticeExtra
Hi,
I would like to combine multiple xyplots into a single, multipanel
display. Using R 3.0.1 in Ubuntu, I have used c() from latticeExtra
to combine three plots, but the x-axis for two plots are on a log
scale and the other is on a normal scale. I also have included
equispace.log=FALSE to clean up the tick labels. However, when I try
all of these, the x-axis scale of the first panel is used
2010 Sep 29
1
Fitting a half-ellipse curve
Dear mailing list,
I have following array:
X2 Y2
[1,] 422.7900 6.0
[2,] 469.8007 10.5
[3,] 483.9428 11.0
[4,] 532.4917 25.5
[5,] 596.1942 33.5
[6,] 630.8496 40.5
[7,] 733.2996 45.0
[8,] 946.4779 32.0
[9,] 996.8068 35.5
[10,] 1074.3310 23.0
I do afterwards the following:
plot.new()
plot.window(xlim=c(min(X1)-50,max(X1)+50),