Skip to content

Commit 30a72a6

Browse files
committed
forgot to re-build & document
1 parent ccf58b9 commit 30a72a6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

man/stat_ellipse.Rd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% Generated by roxygen2 (4.0.0): do not edit by hand
22
\name{stat_ellipse}
33
\alias{stat_ellipse}
4-
\title{Calculate Data Ellipses}
4+
\title{Plot data ellipses.}
55
\usage{
66
stat_ellipse(mapping = NULL, data = NULL, geom = "path",
77
position = "identity", type = "t", level = 0.95, segments = 51,
@@ -46,13 +46,12 @@ stat_ellipse(mapping = NULL, data = NULL, geom = "path",
4646
for more details.}
4747
}
4848
\description{
49-
Calculate Data Ellipses
49+
Plot data ellipses.
5050
}
5151
\details{
52-
The code for calculating the ellipse is largely borrowed from car::ellipse.
52+
The method for calculating the ellipses has been modified from car::ellipse (Fox and Weisberg, 2011)
5353
}
5454
\examples{
55-
\donttest{
5655
ggplot(faithful, aes(waiting, eruptions))+
5756
geom_point()+
5857
stat_ellipse()
@@ -75,5 +74,7 @@ ggplot(faithful, aes(waiting, eruptions, color = eruptions > 3))+
7574
ggplot(faithful, aes(waiting, eruptions, color = eruptions > 3))+
7675
stat_ellipse(geom = "polygon")
7776
}
77+
\references{
78+
John Fox and Sanford Weisberg (2011). An {R} Companion to Applied Regression, Second Edition. Thousand Oaks CA: Sage. URL: http://socserv.socsci.mcmaster.ca/jfox/Books/Companion
7879
}
7980

0 commit comments

Comments
 (0)