The R Project SVN R

Rev

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

Rev 60549 Rev 61160
Line 43... Line 43...
43
\examples{
43
\examples{
44
require(graphics)
44
require(graphics)
45
 
45
 
46
with(cars, {
46
with(cars, {
47
    plot(speed, dist)
47
    plot(speed, dist)
48
    lines(ksmooth(speed, dist, "normal", bandwidth=2), col=2)
48
    lines(ksmooth(speed, dist, "normal", bandwidth = 2), col = 2)
49
    lines(ksmooth(speed, dist, "normal", bandwidth=5), col=3)
49
    lines(ksmooth(speed, dist, "normal", bandwidth = 5), col = 3)
50
})
50
})
51
}
51
}
52
\keyword{smooth}
52
\keyword{smooth}