The R Project SVN R

Rev

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

Rev 61153 Rev 61168
Line 55... Line 55...
55
}
55
}
56
\author{Florian Hahne at FHCRC, originally}
56
\author{Florian Hahne at FHCRC, originally}
57
\examples{
57
\examples{
58
x1  <- matrix(rnorm(1e3), ncol = 2)
58
x1  <- matrix(rnorm(1e3), ncol = 2)
59
x2  <- matrix(rnorm(1e3, mean = 3, sd = 1.5), ncol = 2)
59
x2  <- matrix(rnorm(1e3, mean = 3, sd = 1.5), ncol = 2)
60
x   <- rbind(x1,x2)
60
x   <- rbind(x1, x2)
61
 
61
 
62
dcols <- densCols(x)
62
dcols <- densCols(x)
63
graphics::plot(x, col = dcols, pch = 20, main = "n = 1000")
63
graphics::plot(x, col = dcols, pch = 20, main = "n = 1000")
64
}
64
}
65
\keyword{dplot}
65
\keyword{dplot}