R version 2.11.1 (2010-05-31) Copyright (C) 2010 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(3.00 + ,4.33 + ,6.33 + ,43.67 + ,44.00 + ,47.00 + ,47.00 + ,47.00 + ,48.33 + ,49.00 + ,49.33 + ,49.67 + ,51.00 + ,51.00 + ,51.00 + ,51.00 + ,52.67 + ,53.33 + ,53.67 + ,53.67 + ,54.00 + ,54.00 + ,54.33 + ,54.33 + ,54.67 + ,54.67 + ,54.67 + ,55.00 + ,55.00 + ,55.33 + ,55.33 + ,55.33 + ,55.67 + ,55.67 + ,56.00 + ,56.00 + ,56.00 + ,56.33 + ,56.33 + ,56.67 + ,56.67 + ,56.67 + ,56.67 + ,57.00 + ,57.33 + ,57.33 + ,57.67 + ,57.67 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.00 + ,58.33 + ,58.33 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,58.67 + ,59.00 + ,59.00 + ,59.33 + ,59.33 + ,59.33 + ,59.33 + ,59.33 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,59.67 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.00 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.33 + ,60.67 + ,60.67 + ,60.67 + ,60.67 + ,60.67 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.00 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.33 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,61.67 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.00 + ,62.33 + ,62.33 + ,62.33 + ,62.33 + ,62.67 + ,63.00 + ,63.00 + ,63.00 + ,63.33 + ,63.33 + ,63.33 + ,63.33 + ,63.33 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,63.67 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.00 + ,64.33 + ,64.33 + ,64.67 + ,64.67 + ,64.67 + ,64.67 + ,65.00 + ,65.00 + ,65.00 + ,65.33 + ,65.33 + ,65.67 + ,65.67 + ,65.67 + ,65.67 + ,65.67 + ,66.00 + ,66.00 + ,66.00 + ,66.00 + ,66.33 + ,66.33 + ,66.67 + ,66.67 + ,66.67 + ,66.67 + ,67.33 + ,67.67 + ,68.00 + ,68.67 + ,69.00 + ,70.00 + ,70.33 + ,71.33) + ,dim=c(1 + ,189) + ,dimnames=list(c('Exam') + ,1:189)) > y <- array(NA,dim=c(1,189),dimnames=list(c('Exam'),1:189)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par5 = '2' > par4 = '1' > par3 = '0' > par2 = 'TRUE' > par1 = '3' > ylab = 'Exam Score' > xlab = 'Placement' > main = 'Reddy-Moores Placement Data' > #par5 <- '2' > #par4 <- '1' > #par3 <- '30' > #par2 <- 'FALSE' > #par1 <- '3' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2009, YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: > #Technical description: > par1 <- as.numeric(par1) # colour > par2<- as.logical(par2) # notches ? > par3<-as.numeric(par3) # % trim > if(par3>45){par3<-45;warning('trim limited to 45%')} > if(par3<0){par3<-0;warning('negative trim makes no sense. Trim is zero.')} > par4 <- as.numeric(par4) #factor column > par5 <- as.numeric(par5) # response column > x <- t(x) > x1<-as.numeric(x[,par5]) # response Error: subscript out of bounds Execution halted