R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(1 + ,86 + ,88 + ,3 + ,86 + ,94 + ,3 + ,103 + ,90 + ,3 + ,74 + ,73 + ,1 + ,63 + ,68 + ,2 + ,82 + ,80 + ,3 + ,93 + ,86 + ,3 + ,77 + ,86 + ,2 + ,111 + ,91 + ,1 + ,71 + ,79 + ,1 + ,103 + ,96 + ,3 + ,89 + ,92 + ,3 + ,75 + ,72 + ,3 + ,88 + ,96 + ,1 + ,84 + ,70 + ,3 + ,85 + ,86 + ,3 + ,70 + ,87 + ,3 + ,104 + ,88 + ,2 + ,88 + ,79 + ,2 + ,77 + ,90 + ,1 + ,77 + ,95 + ,1 + ,72 + ,85 + ,3 + ,83 + ,90 + ,1 + ,110 + ,115 + ,1 + ,91 + ,84 + ,3 + ,80 + ,79 + ,1 + ,91 + ,94 + ,2 + ,86 + ,97 + ,3 + ,85 + ,86 + ,2 + ,107 + ,111 + ,2 + ,93 + ,87 + ,3 + ,87 + ,98 + ,1 + ,84 + ,87 + ,3 + ,73 + ,68 + ,3 + ,84 + ,88 + ,1 + ,86 + ,82 + ,2 + ,99 + ,111 + ,1 + ,75 + ,75 + ,1 + ,87 + ,94 + ,2 + ,79 + ,95 + ,1 + ,82 + ,80 + ,1 + ,95 + ,95 + ,3 + ,84 + ,68 + ,2 + ,85 + ,94 + ,2 + ,95 + ,88 + ,1 + ,63 + ,84 + ,1 + ,85 + ,101 + ,1 + ,86 + ,98 + ,2 + ,75 + ,78 + ,3 + ,98 + ,109 + ,3 + ,71 + ,102 + ,3 + ,63 + ,81 + ,3 + ,71 + ,97 + ,2 + ,84 + ,75 + ,2 + ,81 + ,97 + ,3 + ,79 + ,101 + ,3 + ,63 + ,101 + ,2 + ,93 + ,95 + ,2 + ,92 + ,95 + ,3 + ,83 + ,95 + ,2 + ,80 + ,90 + ,3 + ,111 + ,107 + ,3 + ,92 + ,92 + ,2 + ,79 + ,86 + ,2 + ,69 + ,70 + ,3 + ,83 + ,95 + ,3 + ,80 + ,96 + ,2 + ,91 + ,91 + ,1 + ,97 + ,87 + ,2 + ,85 + ,92 + ,2 + ,85 + ,97 + ,2 + ,99 + ,102 + ,2 + ,67 + ,91 + ,3 + ,87 + ,68 + ,2 + ,68 + ,88 + ,3 + ,81 + ,97 + ,1 + ,80 + ,90 + ,3 + ,93 + ,101 + ,3 + ,93 + ,94 + ,1 + ,102 + ,101 + ,1 + ,104 + ,109 + ,2 + ,90 + ,100 + ,1 + ,85 + ,103 + ,3 + ,92 + ,94 + ,1 + ,82 + ,97 + ,3 + ,85 + ,85 + ,2 + ,89 + ,75 + ,3 + ,77 + ,77 + ,1 + ,79 + ,87 + ,1 + ,76 + ,78 + ,2 + ,101 + ,108 + ,3 + ,81 + ,97 + ,1 + ,92 + ,105 + ,3 + ,89 + ,106 + ,1 + ,81 + ,107 + ,2 + ,77 + ,95 + ,2 + ,95 + ,107 + ,3 + ,85 + ,115 + ,3 + ,81 + ,101 + ,1 + ,76 + ,85 + ,3 + ,93 + ,90 + ,3 + ,104 + ,115 + ,3 + ,89 + ,95 + ,2 + ,76 + ,97 + ,3 + ,77 + ,112 + ,3 + ,71 + ,97 + ,3 + ,79 + ,77 + ,3 + ,89 + ,90 + ,1 + ,81 + ,94 + ,3 + ,99 + ,103 + ,1 + ,81 + ,77 + ,3 + ,84 + ,98 + ,3 + ,85 + ,90 + ,3 + ,111 + ,111 + ,2 + ,78 + ,77 + ,3 + ,111 + ,88 + ,2 + ,78 + ,75 + ,3 + ,87 + ,92 + ,2 + ,92 + ,78 + ,2 + ,93 + ,106 + ,2 + ,70 + ,80 + ,3 + ,84 + ,87 + ,3 + ,75 + ,92 + ,1 + ,96 + ,111 + ,3 + ,85 + ,86 + ,3 + ,87 + ,85 + ,2 + ,75 + ,90 + ,1 + ,103 + ,101 + ,3 + ,86 + ,94 + ,3 + ,77 + ,86 + ,3 + ,74 + ,86 + ,2 + ,74 + ,90 + ,1 + ,76 + ,75 + ,3 + ,83 + ,86 + ,3 + ,101 + ,91 + ,3 + ,83 + ,97 + ,2 + ,92 + ,91 + ,3 + ,74 + ,70 + ,2 + ,87 + ,98 + ,3 + ,71 + ,96 + ,3 + ,79 + ,95 + ,2 + ,83 + ,100 + ,3 + ,80 + ,95 + ,3 + ,90 + ,97 + ,3 + ,80 + ,97 + ,3 + ,96 + ,92 + ,1 + ,109 + ,115 + ,3 + ,98 + ,88 + ,2 + ,85 + ,87 + ,3 + ,83 + ,100 + ,3 + ,86 + ,98 + ,1 + ,72 + ,102 + ,3 + ,75 + ,96) + ,dim=c(3 + ,153) + ,dimnames=list(c('MOMAGE' + ,'MC30VRB' + ,'WISCRY7V') + ,1:153)) > y <- array(NA,dim=c(3,153),dimnames=list(c('MOMAGE','MC30VRB','WISCRY7V'),1:153)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par3 = 'TRUE' > par2 = '1' > par1 = '2 3 ' > ylab = 'Y Variable Name' > xlab = 'X Variable Name' > main = 'Title Goes Here' > cat1 <- as.numeric(par1) # Warning message: NAs introduced by coercion > cat2<- as.numeric(par2) # > intercept<-as.logical(par3) > x <- t(x) > x1<-as.numeric(x[,cat1]) Error: (list) object cannot be coerced to type 'double' Execution halted