R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) 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(4,'hot',5,'hot',3,'hot',4,'hot',5,'hot',3,'hot',7,'hot',5,'hot',6,'hot',3,'hot',2,'hot',4,'hot',5,'hot',2,'hot',3,'hot',6,'hot',4,'hot',4,'hot',6,'hot',2,'hot',3,'mild',5,'mild',4,'mild',2,'mild',7,'mild',1,'mild',4,'mild',4,'mild',7,'mild',4,'mild',3,'mild',3,'mild',3,'mild',3,'mild',2,'mild',5,'mild',5,'mild',3,'mild',6,'mild',2,'mild'),dim=c(2,40),dimnames=list(c('Score','Curry'),1:40)) > y <- array(NA,dim=c(2,40),dimnames=list(c('Score','Curry'),1:40)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } There were 40 warnings (use warnings() to see them) > par5 = '' > par4 = '' > par3 = '0' > par2 = 'TRUE' > par1 = 'grey' > ylab = 'Degree Grade' > xlab = 'Placement Student' > main = 'Reddy-Moores Placement Data' > postscript(file="/var/fisher/rcomp/tmp/1bx5b1384536248.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > par2<- as.logical(par2) # notches > par3<-as.numeric(par3) # percentage 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: (list) object cannot be coerced to type 'double' Execution halted