The R Project SVN R

Rev

Rev 59039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61168
Line 38... Line 38...
38
  \emph{Statistical Models in S.}
38
  \emph{Statistical Models in S.}
39
  Wadsworth & Brooks/Cole.
39
  Wadsworth & Brooks/Cole.
40
}
40
}
41
\seealso{\code{\link{jitter}} which you may want for ties in \code{x}.}
41
\seealso{\code{\link{jitter}} which you may want for ties in \code{x}.}
42
\examples{
42
\examples{
43
require(stats)# both 'density' and its default method
43
require(stats)  # both 'density' and its default method
44
with(faithful, {
44
with(faithful, {
45
    plot(density(eruptions, bw = 0.15))
45
    plot(density(eruptions, bw = 0.15))
46
    rug(eruptions)
46
    rug(eruptions)
47
    rug(jitter(eruptions, amount = 0.01), side = 3, col = "light blue")
47
    rug(jitter(eruptions, amount = 0.01), side = 3, col = "light blue")
48
})
48
})