R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" 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('T' + ,0 + ,3 + ,-1 + ,'T' + ,0 + ,-1 + ,-1 + ,'T' + ,1 + ,4 + ,1 + ,'T' + ,0 + ,0 + ,0 + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,1 + ,0 + ,1 + ,'T' + ,1 + ,4 + ,1 + ,'T' + ,0 + ,0 + ,-1 + ,'T' + ,0 + ,4 + ,0 + ,'T' + ,1 + ,0 + ,1 + ,'T' + ,1 + ,2 + ,1 + ,'T' + ,1 + ,0 + ,0 + ,'T' + ,0 + ,0 + ,NA + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,0 + ,0 + ,-1 + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,1 + ,0 + ,1 + ,'T' + ,0 + ,2 + ,1 + ,'T' + ,0 + ,1 + ,0 + ,'T' + ,0 + ,0 + ,-1 + ,'T' + ,0 + ,2 + ,NA + ,'T' + ,-1 + ,-1 + ,NA + ,'T' + ,0 + ,2 + ,0 + ,'T' + ,-1 + ,-1 + ,0 + ,'T' + ,0 + ,-1 + ,NA + ,'T' + ,0 + ,0 + ,NA + ,'T' + ,0 + ,1 + ,0 + ,'T' + ,0 + ,-1 + ,0 + ,'T' + ,-1 + ,-1 + ,-1 + ,'T' + ,0 + ,3 + ,-1 + ,'T' + ,0 + ,0 + ,1 + ,'T' + ,0 + ,1 + ,NA + ,'T' + ,0 + ,0 + ,1 + ,'T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' + ,-1 + ,-1 + ,0 + ,'S' + ,0 + ,0 + ,NA + ,'S' + ,0 + ,4 + ,1 + ,'S' + ,-1 + ,-1 + ,NA + ,'S' + ,0 + ,3 + ,0 + ,'S' + ,0 + ,2 + ,1 + ,'S' + ,0 + ,2 + ,NA + ,'S' + ,0 + ,-1 + ,-1 + ,'S' + ,0 + ,-1 + ,0 + ,'S' + ,0 + ,3 + ,NA + ,'S' + ,1 + ,0 + ,1 + ,'S' + ,0 + ,-1 + ,0 + ,'S' + ,0 + ,-1 + ,0 + ,'S' + ,0 + ,3 + ,0 + ,'S' + ,0 + ,3 + ,0 + ,'S' + ,0 + ,0 + ,NA + ,'S' + ,0 + ,0 + ,0 + ,'S' + ,0 + ,1 + ,-1 + ,'S' + ,0 + ,1 + ,1 + ,'S' + ,0 + ,0 + ,0 + ,'S' + ,0 + ,2 + ,1 + ,'S' + ,1 + ,1 + ,0) + ,dim=c(4 + ,105) + ,dimnames=list(c('A' + ,'B' + ,'C' + ,'D') + ,1:105)) > y <- array(NA,dim=c(4,105),dimnames=list(c('A','B','C','D'),1:105)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } There were 50 or more warnings (use warnings() to see the first 50) > par3 = 'TRUE' > par2 = 'A' > par1 = 'B' > ylab = 'Y Variable Name' > xlab = 'X Variable Name' > main = 'Title Goes Here' > par3 <- 'TRUE' > par2 <- 'A' > par1 <- 'B' > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: aston2 > #To cite this work: Ian E. Holliday, 2012, One-Way-Between-Groups ANOVA (v1.0.4) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/Ian.Holliday/rwasp_One%20Factor%20ANOVA.wasp/ > #Source of accompanying publication: > # > cat1 <- as.numeric(par1) # Warning message: NAs introduced by coercion > cat2<- as.numeric(par2) # Warning message: NAs introduced by coercion > intercept<-as.logical(par3) > x <- t(x) > x1<-as.numeric(x[,cat1]) Error: (list) object cannot be coerced to type 'double' Execution halted