File: dotplotscoping.R

package info (click to toggle)
lattice 0.17-10-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,448 kB
  • ctags: 5
  • sloc: ansic: 357; makefile: 1
file content (13 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
postscript("dotplotscoping.ps")
library(lattice)

fubar <- function() {
    k <- 2
    kkk <- 1:10
    names(kkk) <- 1:10
    data = list(x=kkk)
    dotplot(~x^k + rnorm(10), data)
}

fubar()
dev.off()