R version 2.5.1 (2007-06-27) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(1,1,1,1,3,1,1,2,2,1,1,3,3,3,1,2,2,1,1,3,1,3,3,1,2,2,1,3,2,3,3,3,2,2,1,1,3,3,3,2,3,3,1,3,1,3,3,2,3,3,1,3,3,3,3,3,3,3,1,3,1,3,3,3,1,1,1,3,1,3,1,2,3,3,1,3,3,3,3,3,1,1,1,1,3,2,1,1,2,1,1,3,3,2,3,3,3,3,1,3,3,2,3,2,1,3,1,3,1,3,3,3,1,1,1,1,3,1,1,1,2,1,1,1,3,1,1,2,3,3,1,3,3,3,1,2,3,3,1,3,3,3,3,3,3,3,1,3,3,1,3,3,3,2,1,3,3,1,3,2,2,1,1,1,3,1,1,2,1,3,1,1,2,3,1,2),dim=c(8,22),dimnames=list(c('A','B','C','D','E','F','G','H'),1:22)) > y <- array(NA,dim=c(8,22),dimnames=list(c('A','B','C','D','E','F','G','H'),1:22)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par1 = 'TRUE' > main = 'Starplot' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa P., (2007), Star Plot (v1.0.2) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_starplot.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description > if (par1 == 'TRUE') par1 <- TRUE > if (par1 == 'FALSE') par1 <- FALSE > postscript(file="/var/www/html/rcomp/tmp/19fh91193399958.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > stars(t(y), main = main, full=par1, key.loc = c(14, 2)) > dev.off() null device 1 > > system("convert tmp/19fh91193399958.ps tmp/19fh91193399958.png") > > > proc.time() user system elapsed 0.678 0.161 0.728