powered by
lines
density.circular
## S3 method for class 'density.circular': lines(x, type = "l", zero.line = TRUE, points.plot = FALSE, points.col = 1, points.pch = 1, plot.type = c("circle", "line"), bins, shrink = 1, tcl = 0.025, ...)
TRUE
plot.type
"line"
lines.default
plot.density.circular
x <- rvonmises(n=100, mu=pi, kappa=2) res25 <- density(x, bw=25) plot(res25, points.plot=TRUE, xlim=c(-1.5,1)) res50 <- density(x, bw=25, adjust=2) lines(res50, col=2)
Run the code above in your browser using DataLab