File: dots.R

package info (click to toggle)
r-cran-teachingdemos 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,168 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
"dots" <-
function(x,...){
	
	sx <- sort(x)
	sy <- unlist(lapply(table(sx),seq))
	plot(sx,sy, xlab=deparse(substitute(x)), ylab="Count",...)
	
}