R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-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(115 + ,1418 + ,210907 + ,81 + ,79 + ,56 + ,109 + ,869 + ,120982 + ,55 + ,58 + ,56 + ,146 + ,1530 + ,176508 + ,50 + ,60 + ,54 + ,116 + ,2172 + ,179321 + ,125 + ,108 + ,89 + ,68 + ,901 + ,123185 + ,40 + ,49 + ,40 + ,101 + ,463 + ,52746 + ,37 + ,0 + ,25 + ,96 + ,3201 + ,385534 + ,63 + ,121 + ,92 + ,67 + ,371 + ,33170 + ,44 + ,1 + ,18 + ,44 + ,1192 + ,101645 + ,88 + ,20 + ,63 + ,100 + ,1583 + ,149061 + ,66 + ,43 + ,44 + ,93 + ,1439 + ,165446 + ,57 + ,69 + ,33 + ,140 + ,1764 + ,237213 + ,74 + ,78 + ,84 + ,166 + ,1495 + ,173326 + ,49 + ,86 + ,88 + ,99 + ,1373 + ,133131 + ,52 + ,44 + ,55 + ,139 + ,2187 + ,258873 + ,88 + ,104 + ,60 + ,130 + ,1491 + ,180083 + ,36 + ,63 + ,66 + ,181 + ,4041 + ,324799 + ,108 + ,158 + ,154 + ,116 + ,1706 + ,230964 + ,43 + ,102 + ,53 + ,116 + ,2152 + ,236785 + ,75 + ,77 + ,119 + ,88 + ,1036 + ,135473 + ,32 + ,82 + ,41 + ,139 + ,1882 + ,202925 + ,44 + ,115 + ,61 + ,135 + ,1929 + ,215147 + ,85 + ,101 + ,58 + ,108 + ,2242 + ,344297 + ,86 + ,80 + ,75 + ,89 + ,1220 + ,153935 + ,56 + ,50 + ,33 + ,156 + ,1289 + ,132943 + ,50 + ,83 + ,40 + ,129 + ,2515 + ,174724 + ,135 + ,123 + ,92 + ,118 + ,2147 + ,174415 + ,63 + ,73 + ,100 + ,118 + ,2352 + ,225548 + ,81 + ,81 + ,112 + ,125 + ,1638 + ,223632 + ,52 + ,105 + ,73 + ,95 + ,1222 + ,124817 + ,44 + ,47 + ,40 + ,126 + ,1812 + ,221698 + ,113 + ,105 + ,45 + ,135 + ,1677 + ,210767 + ,39 + ,94 + ,60 + ,154 + ,1579 + ,170266 + ,73 + ,44 + ,62 + ,165 + ,1731 + ,260561 + ,48 + ,114 + ,75 + ,113 + ,807 + ,84853 + ,33 + ,38 + ,31 + ,127 + ,2452 + ,294424 + ,59 + ,107 + ,77 + ,52 + ,829 + ,101011 + ,41 + ,30 + ,34 + ,121 + ,1940 + ,215641 + ,69 + ,71 + ,46 + ,136 + ,2662 + ,325107 + ,64 + ,84 + ,99 + ,0 + ,186 + ,7176 + ,1 + ,0 + ,17 + ,108 + ,1499 + ,167542 + ,59 + ,59 + ,66 + ,46 + ,865 + ,106408 + ,32 + ,33 + ,30 + ,54 + ,1793 + ,96560 + ,129 + ,42 + ,76 + ,124 + ,2527 + ,265769 + ,37 + ,96 + ,146 + ,115 + ,2747 + ,269651 + ,31 + ,106 + ,67 + ,128 + ,1324 + ,149112 + ,65 + ,56 + ,56 + ,80 + ,2702 + ,175824 + ,107 + ,57 + ,107 + ,97 + ,1383 + ,152871 + ,74 + ,59 + ,58 + ,104 + ,1179 + ,111665 + ,54 + ,39 + ,34 + ,59 + ,2099 + ,116408 + ,76 + ,34 + ,61 + ,125 + ,4308 + ,362301 + ,715 + ,76 + ,119 + ,82 + ,918 + ,78800 + ,57 + ,20 + ,42 + ,149 + ,1831 + ,183167 + ,66 + ,91 + ,66 + ,149 + ,3373 + ,277965 + ,106 + ,115 + ,89 + ,122 + ,1713 + ,150629 + ,54 + ,85 + ,44 + ,118 + ,1438 + ,168809 + ,32 + ,76 + ,66 + ,12 + ,496 + ,24188 + ,20 + ,8 + ,24 + ,144 + ,2253 + ,329267 + ,71 + ,79 + ,259 + ,67 + ,744 + ,65029 + ,21 + ,21 + ,17 + ,52 + ,1161 + ,101097 + ,70 + ,30 + ,64 + ,108 + ,2352 + ,218946 + ,112 + ,76 + ,41 + ,166 + ,2144 + ,244052 + ,66 + ,101 + ,68 + ,80 + ,4691 + ,341570 + ,190 + ,94 + ,168 + ,60 + ,1112 + ,103597 + ,66 + ,27 + ,43 + ,107 + ,2694 + ,233328 + ,165 + ,92 + ,132 + ,127 + ,1973 + ,256462 + ,56 + ,123 + ,105 + ,107 + ,1769 + ,206161 + ,61 + ,75 + ,71 + ,146 + ,3148 + ,311473 + ,53 + ,128 + ,112 + ,84 + ,2474 + ,235800 + ,127 + ,105 + ,94 + ,141 + ,2084 + ,177939 + ,63 + ,55 + ,82 + ,123 + ,1954 + ,207176 + ,38 + ,56 + ,70 + ,111 + ,1226 + ,196553 + ,50 + ,41 + ,57 + ,98 + ,1389 + ,174184 + ,52 + ,72 + ,53 + ,105 + ,1496 + ,143246 + ,42 + ,67 + ,103 + ,135 + ,2269 + ,187559 + ,76 + ,75 + ,121 + ,107 + ,1833 + ,187681 + ,67 + ,114 + ,62 + ,85 + ,1268 + ,119016 + ,50 + ,118 + ,52 + ,155 + ,1943 + ,182192 + ,53 + ,77 + ,52 + ,88 + ,893 + ,73566 + ,39 + ,22 + ,32 + ,155 + ,1762 + ,194979 + ,50 + ,66 + ,62 + ,104 + ,1403 + ,167488 + ,77 + ,69 + ,45 + ,132 + ,1425 + ,143756 + ,57 + ,105 + ,46 + ,127 + ,1857 + ,275541 + ,73 + ,116 + ,63 + ,108 + ,1840 + ,243199 + ,34 + ,88 + ,75 + ,129 + ,1502 + ,182999 + ,39 + ,73 + ,88 + ,116 + ,1441 + ,135649 + ,46 + ,99 + ,46 + ,122 + ,1420 + ,152299 + ,63 + ,62 + ,53 + ,85 + ,1416 + ,120221 + ,35 + ,53 + ,37 + ,147 + ,2970 + ,346485 + ,106 + ,118 + ,90 + ,99 + ,1317 + ,145790 + ,43 + ,30 + ,63 + ,87 + ,1644 + ,193339 + ,47 + ,100 + ,78 + ,28 + ,870 + ,80953 + ,31 + ,49 + ,25 + ,90 + ,1654 + ,122774 + ,162 + ,24 + ,45 + ,109 + ,1054 + ,130585 + ,57 + ,67 + ,46 + ,78 + ,937 + ,112611 + ,36 + ,46 + ,41 + ,111 + ,3004 + ,286468 + ,263 + ,57 + ,144 + ,158 + ,2008 + ,241066 + ,78 + ,75 + ,82 + ,141 + ,2547 + ,148446 + ,63 + ,135 + ,91 + ,122 + ,1885 + ,204713 + ,54 + ,68 + ,71 + ,124 + ,1626 + ,182079 + ,63 + ,124 + ,63 + ,93 + ,1468 + ,140344 + ,77 + ,33 + ,53 + ,124 + ,2445 + ,220516 + ,79 + ,98 + ,62 + ,112 + ,1964 + ,243060 + ,110 + ,58 + ,63 + ,108 + ,1381 + ,162765 + ,56 + ,68 + ,32 + ,99 + ,1369 + ,182613 + ,56 + ,81 + ,39 + ,117 + ,1659 + ,232138 + ,43 + ,131 + ,62 + ,199 + ,2888 + ,265318 + ,111 + ,110 + ,117 + ,78 + ,1290 + ,85574 + ,71 + ,37 + ,34 + ,91 + ,2845 + ,310839 + ,62 + ,130 + ,92 + ,158 + ,1982 + ,225060 + ,56 + ,93 + ,93 + ,126 + ,1904 + ,232317 + ,74 + ,118 + ,54 + ,122 + ,1391 + ,144966 + ,60 + ,39 + ,144 + ,71 + ,602 + ,43287 + ,43 + ,13 + ,14 + ,75 + ,1743 + ,155754 + ,68 + ,74 + ,61 + ,115 + ,1559 + ,164709 + ,53 + ,81 + ,109 + ,119 + ,2014 + ,201940 + ,87 + ,109 + ,38 + ,124 + ,2143 + ,235454 + ,46 + ,151 + ,73 + ,72 + ,2146 + ,220801 + ,105 + ,51 + ,75 + ,91 + ,874 + ,99466 + ,32 + ,28 + ,50 + ,45 + ,1590 + ,92661 + ,133 + ,40 + ,61 + ,78 + ,1590 + ,133328 + ,79 + ,56 + ,55 + ,39 + ,1210 + ,61361 + ,51 + ,27 + ,77 + ,68 + ,2072 + ,125930 + ,207 + ,37 + ,75 + ,119 + ,1281 + ,100750 + ,67 + ,83 + ,72 + ,117 + ,1401 + ,224549 + ,47 + ,54 + ,50 + ,39 + ,834 + ,82316 + ,34 + ,27 + ,32 + ,50 + ,1105 + ,102010 + ,66 + ,28 + ,53 + ,88 + ,1272 + ,101523 + ,76 + ,59 + ,42 + ,155 + ,1944 + ,243511 + ,65 + ,133 + ,71 + ,0 + ,391 + ,22938 + ,9 + ,12 + ,10 + ,36 + ,761 + ,41566 + ,42 + ,0 + ,35 + ,123 + ,1605 + ,152474 + ,45 + ,106 + ,65 + ,32 + ,530 + ,61857 + ,25 + ,23 + ,25 + ,99 + ,1988 + ,99923 + ,115 + ,44 + ,66 + ,136 + ,1386 + ,132487 + ,97 + ,71 + ,41 + ,117 + ,2395 + ,317394 + ,53 + ,116 + ,86 + ,0 + ,387 + ,21054 + ,2 + ,4 + ,16 + ,88 + ,1742 + ,209641 + ,52 + ,62 + ,42 + ,39 + ,620 + ,22648 + ,44 + ,12 + ,19 + ,25 + ,449 + ,31414 + ,22 + ,18 + ,19 + ,52 + ,800 + ,46698 + ,35 + ,14 + ,45 + ,75 + ,1684 + ,131698 + ,74 + ,60 + ,65 + ,71 + ,1050 + ,91735 + ,103 + ,7 + ,35 + ,124 + ,2699 + ,244749 + ,144 + ,98 + ,95 + ,151 + ,1606 + ,184510 + ,60 + ,64 + ,49 + ,71 + ,1502 + ,79863 + ,134 + ,29 + ,37 + ,145 + ,1204 + ,128423 + ,89 + ,32 + ,64 + ,87 + ,1138 + ,97839 + ,42 + ,25 + ,38 + ,27 + ,568 + ,38214 + ,52 + ,16 + ,34 + ,131 + ,1459 + ,151101 + ,98 + ,48 + ,32 + ,162 + ,2158 + ,272458 + ,99 + ,100 + ,65 + ,165 + ,1111 + ,172494 + ,52 + ,46 + ,52 + ,54 + ,1421 + ,108043 + ,29 + ,45 + ,62 + ,159 + ,2833 + ,328107 + ,125 + ,129 + ,65 + ,147 + ,1955 + ,250579 + ,106 + ,130 + ,83 + ,170 + ,2922 + ,351067 + ,95 + ,136 + ,95 + ,119 + ,1002 + ,158015 + ,40 + ,59 + ,29 + ,49 + ,1060 + ,98866 + ,140 + ,25 + ,18 + ,104 + ,956 + ,85439 + ,43 + ,32 + ,33 + ,120 + ,2186 + ,229242 + ,128 + ,63 + ,247 + ,150 + ,3604 + ,351619 + ,142 + ,95 + ,139 + ,112 + ,1035 + ,84207 + ,73 + ,14 + ,29 + ,59 + ,1417 + ,120445 + ,72 + ,36 + ,118 + ,136 + ,3261 + ,324598 + ,128 + ,113 + ,110 + ,107 + ,1587 + ,131069 + ,61 + ,47 + ,67 + ,130 + ,1424 + ,204271 + ,73 + ,92 + ,42 + ,115 + ,1701 + ,165543 + ,148 + ,70 + ,65 + ,107 + ,1249 + ,141722 + ,64 + ,19 + ,94 + ,75 + ,946 + ,116048 + ,45 + ,50 + ,64 + ,71 + ,1926 + ,250047 + ,58 + ,41 + ,81 + ,120 + ,3352 + ,299775 + ,97 + ,91 + ,95 + ,116 + ,1641 + ,195838 + ,50 + ,111 + ,67 + ,79 + ,2035 + ,173260 + ,37 + ,41 + ,63 + ,150 + ,2312 + ,254488 + ,50 + ,120 + ,83 + ,156 + ,1369 + ,104389 + ,105 + ,135 + ,45 + ,51 + ,1577 + ,136084 + ,69 + ,27 + ,30 + ,118 + ,2201 + ,199476 + ,46 + ,87 + ,70 + ,71 + ,961 + ,92499 + ,57 + ,25 + ,32 + ,144 + ,1900 + ,224330 + ,52 + ,131 + ,83 + ,47 + ,1254 + ,135781 + ,98 + ,45 + ,31 + ,28 + ,1335 + ,74408 + ,61 + ,29 + ,67 + ,68 + ,1597 + ,81240 + ,89 + ,58 + ,66 + ,0 + ,207 + ,14688 + ,0 + ,4 + ,10 + ,110 + ,1645 + ,181633 + ,48 + ,47 + ,70 + ,147 + ,2429 + ,271856 + ,91 + ,109 + ,103 + ,0 + ,151 + ,7199 + ,0 + ,7 + ,5 + ,15 + ,474 + ,46660 + ,7 + ,12 + ,20 + ,4 + ,141 + ,17547 + ,3 + ,0 + ,5 + ,64 + ,1639 + ,133368 + ,54 + ,37 + ,36 + ,111 + ,872 + ,95227 + ,70 + ,37 + ,34 + ,85 + ,1318 + ,152601 + ,36 + ,46 + ,48 + ,68 + ,1018 + ,98146 + ,37 + ,15 + ,40 + ,40 + ,1383 + ,79619 + ,123 + ,42 + ,43 + ,80 + ,1314 + ,59194 + ,247 + ,7 + ,31 + ,88 + ,1335 + ,139942 + ,46 + ,54 + ,42 + ,48 + ,1403 + ,118612 + ,72 + ,54 + ,46 + ,76 + ,910 + ,72880 + ,41 + ,14 + ,33 + ,51 + ,616 + ,65475 + ,24 + ,16 + ,18 + ,67 + ,1407 + ,99643 + ,45 + ,33 + ,55 + ,59 + ,771 + ,71965 + ,33 + ,32 + ,35 + ,61 + ,766 + ,77272 + ,27 + ,21 + ,59 + ,76 + ,473 + ,49289 + ,36 + ,15 + ,19 + ,60 + ,1376 + ,135131 + ,87 + ,38 + ,66 + ,68 + ,1232 + ,108446 + ,90 + ,22 + ,60 + ,71 + ,1521 + ,89746 + ,114 + ,28 + ,36 + ,76 + ,572 + ,44296 + ,31 + ,10 + ,25 + ,62 + ,1059 + ,77648 + ,45 + ,31 + ,47 + ,61 + ,1544 + ,181528 + ,69 + ,32 + ,54 + ,67 + ,1230 + ,134019 + ,51 + ,32 + ,53 + ,88 + ,1206 + ,124064 + ,34 + ,43 + ,40 + ,30 + ,1205 + ,92630 + ,60 + ,27 + ,40 + ,64 + ,1255 + ,121848 + ,45 + ,37 + ,39 + ,68 + ,613 + ,52915 + ,54 + ,20 + ,14 + ,64 + ,721 + ,81872 + ,25 + ,32 + ,45 + ,91 + ,1109 + ,58981 + ,38 + ,0 + ,36 + ,88 + ,740 + ,53515 + ,52 + ,5 + ,28 + ,52 + ,1126 + ,60812 + ,67 + ,26 + ,44 + ,49 + ,728 + ,56375 + ,74 + ,10 + ,30 + ,62 + ,689 + ,65490 + ,38 + ,27 + ,22 + ,61 + ,592 + ,80949 + ,30 + ,11 + ,17 + ,76 + ,995 + ,76302 + ,26 + ,29 + ,31 + ,88 + ,1613 + ,104011 + ,67 + ,25 + ,55 + ,66 + ,2048 + ,98104 + ,132 + ,55 + ,54 + ,71 + ,705 + ,67989 + ,42 + ,23 + ,21 + ,68 + ,301 + ,30989 + ,35 + ,5 + ,14 + ,48 + ,1803 + ,135458 + ,118 + ,43 + ,81 + ,25 + ,799 + ,73504 + ,68 + ,23 + ,35 + ,68 + ,861 + ,63123 + ,43 + ,34 + ,43 + ,41 + ,1186 + ,61254 + ,76 + ,36 + ,46 + ,90 + ,1451 + ,74914 + ,64 + ,35 + ,30 + ,66 + ,628 + ,31774 + ,48 + ,0 + ,23 + ,54 + ,1161 + ,81437 + ,64 + ,37 + ,38 + ,59 + ,1463 + ,87186 + ,56 + ,28 + ,54 + ,60 + ,742 + ,50090 + ,71 + ,16 + ,20 + ,77 + ,979 + ,65745 + ,75 + ,26 + ,53 + ,68 + ,675 + ,56653 + ,39 + ,38 + ,45 + ,72 + ,1241 + ,158399 + ,42 + ,23 + ,39 + ,67 + ,676 + ,46455 + ,39 + ,22 + ,20 + ,64 + ,1049 + ,73624 + ,93 + ,30 + ,24 + ,63 + ,620 + ,38395 + ,38 + ,16 + ,31 + ,59 + ,1081 + ,91899 + ,60 + ,18 + ,35 + ,84 + ,1688 + ,139526 + ,71 + ,28 + ,151 + ,64 + ,736 + ,52164 + ,52 + ,32 + ,52 + ,56 + ,617 + ,51567 + ,27 + ,21 + ,30 + ,54 + ,812 + ,70551 + ,59 + ,23 + ,31 + ,67 + ,1051 + ,84856 + ,40 + ,29 + ,29 + ,58 + ,1656 + ,102538 + ,79 + ,50 + ,57 + ,59 + ,705 + ,86678 + ,44 + ,12 + ,40 + ,40 + ,945 + ,85709 + ,65 + ,21 + ,44 + ,22 + ,554 + ,34662 + ,10 + ,18 + ,25 + ,83 + ,1597 + ,150580 + ,124 + ,27 + ,77 + ,81 + ,982 + ,99611 + ,81 + ,41 + ,35 + ,2 + ,222 + ,19349 + ,15 + ,13 + ,11 + ,72 + ,1212 + ,99373 + ,92 + ,12 + ,63 + ,61 + ,1143 + ,86230 + ,42 + ,21 + ,44 + ,15 + ,435 + ,30837 + ,10 + ,8 + ,19 + ,32 + ,532 + ,31706 + ,24 + ,26 + ,13 + ,62 + ,882 + ,89806 + ,64 + ,27 + ,42 + ,58 + ,608 + ,62088 + ,45 + ,13 + ,38 + ,36 + ,459 + ,40151 + ,22 + ,16 + ,29 + ,59 + ,578 + ,27634 + ,56 + ,2 + ,20 + ,68 + ,826 + ,76990 + ,94 + ,42 + ,27 + ,21 + ,509 + ,37460 + ,19 + ,5 + ,20 + ,55 + ,717 + ,54157 + ,35 + ,37 + ,19 + ,54 + ,637 + ,49862 + ,32 + ,17 + ,37 + ,55 + ,857 + ,84337 + ,35 + ,38 + ,26 + ,72 + ,830 + ,64175 + ,48 + ,37 + ,42 + ,41 + ,652 + ,59382 + ,49 + ,29 + ,49 + ,61 + ,707 + ,119308 + ,48 + ,32 + ,30 + ,67 + ,954 + ,76702 + ,62 + ,35 + ,49 + ,76 + ,1461 + ,103425 + ,96 + ,17 + ,67 + ,64 + ,672 + ,70344 + ,45 + ,20 + ,28 + ,3 + ,778 + ,43410 + ,63 + ,7 + ,19 + ,63 + ,1141 + ,104838 + ,71 + ,46 + ,49 + ,40 + ,680 + ,62215 + ,26 + ,24 + ,27 + ,69 + ,1090 + ,69304 + ,48 + ,40 + ,30 + ,48 + ,616 + ,53117 + ,29 + ,3 + ,22 + ,8 + ,285 + ,19764 + ,19 + ,10 + ,12 + ,52 + ,1145 + ,86680 + ,45 + ,37 + ,31 + ,66 + ,733 + ,84105 + ,45 + ,17 + ,20 + ,76 + ,888 + ,77945 + ,67 + ,28 + ,20 + ,43 + ,849 + ,89113 + ,30 + ,19 + ,39 + ,39 + ,1182 + ,91005 + ,36 + ,29 + ,29 + ,14 + ,528 + ,40248 + ,34 + ,8 + ,16 + ,61 + ,642 + ,64187 + ,36 + ,10 + ,27 + ,71 + ,947 + ,50857 + ,34 + ,15 + ,21 + ,44 + ,819 + ,56613 + ,37 + ,15 + ,19 + ,60 + ,757 + ,62792 + ,46 + ,28 + ,35 + ,64 + ,894 + ,72535 + ,44 + ,17 + ,14) + ,dim=c(6 + ,289) + ,dimnames=list(c('LFM' + ,'PV' + ,'Time' + ,'CV' + ,'Blogs' + ,'logins') + ,1:289)) > y <- array(NA,dim=c(6,289),dimnames=list(c('LFM','PV','Time','CV','Blogs','logins'),1:289)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par4 = 'no' > par3 = '3' > par2 = 'none' > par1 = '1' > #'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: > library(party) Loading required package: survival Loading required package: splines Loading required package: grid Loading required package: modeltools Loading required package: stats4 Loading required package: coin Loading required package: mvtnorm Loading required package: zoo Loading required package: sandwich Loading required package: strucchange Loading required package: vcd Loading required package: MASS Loading required package: colorspace > library(Hmisc) Attaching package: 'Hmisc' The following object(s) are masked from 'package:survival': untangle.specials The following object(s) are masked from 'package:base': format.pval, round.POSIXt, trunc.POSIXt, units > par1 <- as.numeric(par1) > par3 <- as.numeric(par3) > x <- data.frame(t(y)) > is.data.frame(x) [1] TRUE > x <- x[!is.na(x[,par1]),] > k <- length(x[1,]) > n <- length(x[,1]) > colnames(x)[par1] [1] "LFM" > x[,par1] [1] 115 109 146 116 68 101 96 67 44 100 93 140 166 99 139 130 181 116 [19] 116 88 139 135 108 89 156 129 118 118 125 95 126 135 154 165 113 127 [37] 52 121 136 0 108 46 54 124 115 128 80 97 104 59 125 82 149 149 [55] 122 118 12 144 67 52 108 166 80 60 107 127 107 146 84 141 123 111 [73] 98 105 135 107 85 155 88 155 104 132 127 108 129 116 122 85 147 99 [91] 87 28 90 109 78 111 158 141 122 124 93 124 112 108 99 117 199 78 [109] 91 158 126 122 71 75 115 119 124 72 91 45 78 39 68 119 117 39 [127] 50 88 155 0 36 123 32 99 136 117 0 88 39 25 52 75 71 124 [145] 151 71 145 87 27 131 162 165 54 159 147 170 119 49 104 120 150 112 [163] 59 136 107 130 115 107 75 71 120 116 79 150 156 51 118 71 144 47 [181] 28 68 0 110 147 0 15 4 64 111 85 68 40 80 88 48 76 51 [199] 67 59 61 76 60 68 71 76 62 61 67 88 30 64 68 64 91 88 [217] 52 49 62 61 76 88 66 71 68 48 25 68 41 90 66 54 59 60 [235] 77 68 72 67 64 63 59 84 64 56 54 67 58 59 40 22 83 81 [253] 2 72 61 15 32 62 58 36 59 68 21 55 54 55 72 41 61 67 [271] 76 64 3 63 40 69 48 8 52 66 76 43 39 14 61 71 44 60 [289] 64 > if (par2 == 'kmeans') { + cl <- kmeans(x[,par1], par3) + print(cl) + clm <- matrix(cbind(cl$centers,1:par3),ncol=2) + clm <- clm[sort.list(clm[,1]),] + for (i in 1:par3) { + cl$cluster[cl$cluster==clm[i,2]] <- paste('C',i,sep='') + } + cl$cluster <- as.factor(cl$cluster) + print(cl$cluster) + x[,par1] <- cl$cluster + } > if (par2 == 'quantiles') { + x[,par1] <- cut2(x[,par1],g=par3) + } > if (par2 == 'hclust') { + hc <- hclust(dist(x[,par1])^2, 'cen') + print(hc) + memb <- cutree(hc, k = par3) + dum <- c(mean(x[memb==1,par1])) + for (i in 2:par3) { + dum <- c(dum, mean(x[memb==i,par1])) + } + hcm <- matrix(cbind(dum,1:par3),ncol=2) + hcm <- hcm[sort.list(hcm[,1]),] + for (i in 1:par3) { + memb[memb==hcm[i,2]] <- paste('C',i,sep='') + } + memb <- as.factor(memb) + print(memb) + x[,par1] <- memb + } > if (par2=='equal') { + ed <- cut(as.numeric(x[,par1]),par3,labels=paste('C',1:par3,sep='')) + x[,par1] <- as.factor(ed) + } > table(x[,par1]) 0 2 3 4 8 12 14 15 21 22 25 27 28 30 32 36 39 40 41 43 5 1 1 1 1 1 1 2 1 1 2 1 2 1 2 2 4 3 2 1 44 45 46 47 48 49 50 51 52 54 55 56 58 59 60 61 62 63 64 66 2 1 1 1 3 2 1 2 5 5 2 1 2 7 4 6 3 2 7 3 67 68 69 71 72 75 76 77 78 79 80 81 82 83 84 85 87 88 89 90 7 10 1 8 4 3 6 1 3 1 3 1 1 1 2 3 2 8 1 2 91 93 95 96 97 98 99 100 101 104 105 107 108 109 110 111 112 113 115 116 3 2 1 1 1 1 4 1 1 3 1 5 5 2 1 3 2 1 4 5 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 135 136 139 140 3 4 3 2 1 4 2 5 2 2 3 1 2 2 1 1 3 3 2 1 141 144 145 146 147 149 150 151 154 155 156 158 159 162 165 166 170 181 199 2 2 1 2 3 2 2 1 1 3 2 2 1 1 2 2 1 1 1 > colnames(x) [1] "LFM" "PV" "Time" "CV" "Blogs" "logins" > colnames(x)[par1] [1] "LFM" > x[,par1] [1] 115 109 146 116 68 101 96 67 44 100 93 140 166 99 139 130 181 116 [19] 116 88 139 135 108 89 156 129 118 118 125 95 126 135 154 165 113 127 [37] 52 121 136 0 108 46 54 124 115 128 80 97 104 59 125 82 149 149 [55] 122 118 12 144 67 52 108 166 80 60 107 127 107 146 84 141 123 111 [73] 98 105 135 107 85 155 88 155 104 132 127 108 129 116 122 85 147 99 [91] 87 28 90 109 78 111 158 141 122 124 93 124 112 108 99 117 199 78 [109] 91 158 126 122 71 75 115 119 124 72 91 45 78 39 68 119 117 39 [127] 50 88 155 0 36 123 32 99 136 117 0 88 39 25 52 75 71 124 [145] 151 71 145 87 27 131 162 165 54 159 147 170 119 49 104 120 150 112 [163] 59 136 107 130 115 107 75 71 120 116 79 150 156 51 118 71 144 47 [181] 28 68 0 110 147 0 15 4 64 111 85 68 40 80 88 48 76 51 [199] 67 59 61 76 60 68 71 76 62 61 67 88 30 64 68 64 91 88 [217] 52 49 62 61 76 88 66 71 68 48 25 68 41 90 66 54 59 60 [235] 77 68 72 67 64 63 59 84 64 56 54 67 58 59 40 22 83 81 [253] 2 72 61 15 32 62 58 36 59 68 21 55 54 55 72 41 61 67 [271] 76 64 3 63 40 69 48 8 52 66 76 43 39 14 61 71 44 60 [289] 64 > if (par2 == 'none') { + m <- ctree(as.formula(paste(colnames(x)[par1],' ~ .',sep='')),data = x) + } > > #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/wessaorg/rcomp/createtable") > > if (par2 != 'none') { + m <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data = x) + if (par4=='yes') { + a<-table.start() + a<-table.row.start(a) + a<-table.element(a,'10-Fold Cross Validation',3+2*par3,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'',1,TRUE) + a<-table.element(a,'Prediction (training)',par3+1,TRUE) + a<-table.element(a,'Prediction (testing)',par3+1,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'Actual',1,TRUE) + for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE) + a<-table.element(a,'CV',1,TRUE) + for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE) + a<-table.element(a,'CV',1,TRUE) + a<-table.row.end(a) + for (i in 1:10) { + ind <- sample(2, nrow(x), replace=T, prob=c(0.9,0.1)) + m.ct <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data =x[ind==1,]) + if (i==1) { + m.ct.i.pred <- predict(m.ct, newdata=x[ind==1,]) + m.ct.i.actu <- x[ind==1,par1] + m.ct.x.pred <- predict(m.ct, newdata=x[ind==2,]) + m.ct.x.actu <- x[ind==2,par1] + } else { + m.ct.i.pred <- c(m.ct.i.pred,predict(m.ct, newdata=x[ind==1,])) + m.ct.i.actu <- c(m.ct.i.actu,x[ind==1,par1]) + m.ct.x.pred <- c(m.ct.x.pred,predict(m.ct, newdata=x[ind==2,])) + m.ct.x.actu <- c(m.ct.x.actu,x[ind==2,par1]) + } + } + print(m.ct.i.tab <- table(m.ct.i.actu,m.ct.i.pred)) + numer <- 0 + for (i in 1:par3) { + print(m.ct.i.tab[i,i] / sum(m.ct.i.tab[i,])) + numer <- numer + m.ct.i.tab[i,i] + } + print(m.ct.i.cp <- numer / sum(m.ct.i.tab)) + print(m.ct.x.tab <- table(m.ct.x.actu,m.ct.x.pred)) + numer <- 0 + for (i in 1:par3) { + print(m.ct.x.tab[i,i] / sum(m.ct.x.tab[i,])) + numer <- numer + m.ct.x.tab[i,i] + } + print(m.ct.x.cp <- numer / sum(m.ct.x.tab)) + for (i in 1:par3) { + a<-table.row.start(a) + a<-table.element(a,paste('C',i,sep=''),1,TRUE) + for (jjj in 1:par3) a<-table.element(a,m.ct.i.tab[i,jjj]) + a<-table.element(a,round(m.ct.i.tab[i,i]/sum(m.ct.i.tab[i,]),4)) + for (jjj in 1:par3) a<-table.element(a,m.ct.x.tab[i,jjj]) + a<-table.element(a,round(m.ct.x.tab[i,i]/sum(m.ct.x.tab[i,]),4)) + a<-table.row.end(a) + } + a<-table.row.start(a) + a<-table.element(a,'Overall',1,TRUE) + for (jjj in 1:par3) a<-table.element(a,'-') + a<-table.element(a,round(m.ct.i.cp,4)) + for (jjj in 1:par3) a<-table.element(a,'-') + a<-table.element(a,round(m.ct.x.cp,4)) + a<-table.row.end(a) + a<-table.end(a) + table.save(a,file="/var/wessaorg/rcomp/tmp/1ig6i1324481123.tab") + } + } > m Conditional inference tree with 6 terminal nodes Response: LFM Inputs: PV, Time, CV, Blogs, logins Number of observations: 289 1) Blogs <= 54; criterion = 1, statistic = 169.699 2) Time <= 43410; criterion = 1, statistic = 64.424 3) CV <= 34; criterion = 0.996, statistic = 11.044 4)* weights = 16 3) CV > 34 5)* weights = 10 2) Time > 43410 6) Time <= 136084; criterion = 1, statistic = 30.49 7)* weights = 127 6) Time > 136084 8)* weights = 21 1) Blogs > 54 9) Blogs <= 74; criterion = 1, statistic = 18.895 10)* weights = 35 9) Blogs > 74 11)* weights = 80 > postscript(file="/var/wessaorg/rcomp/tmp/2mvmn1324481123.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(m) > dev.off() null device 1 > postscript(file="/var/wessaorg/rcomp/tmp/3ttae1324481123.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x[,par1] ~ as.factor(where(m)),main='Response by Terminal Node',xlab='Terminal Node',ylab='Response') > dev.off() null device 1 > if (par2 == 'none') { + forec <- predict(m) + result <- as.data.frame(cbind(x[,par1],forec,x[,par1]-forec)) + colnames(result) <- c('Actuals','Forecasts','Residuals') + print(result) + } Actuals Forecasts Residuals 1 115 129.75000 -14.7500000 2 109 109.94286 -0.9428571 3 146 109.94286 36.0571429 4 116 129.75000 -13.7500000 5 68 65.21260 2.7874016 6 101 65.21260 35.7874016 7 96 129.75000 -33.7500000 8 67 49.90000 17.1000000 9 44 65.21260 -21.2125984 10 100 99.66667 0.3333333 11 93 109.94286 -16.9428571 12 140 129.75000 10.2500000 13 166 129.75000 36.2500000 14 99 65.21260 33.7874016 15 139 129.75000 9.2500000 16 130 109.94286 20.0571429 17 181 129.75000 51.2500000 18 116 129.75000 -13.7500000 19 116 129.75000 -13.7500000 20 88 129.75000 -41.7500000 21 139 129.75000 9.2500000 22 135 129.75000 5.2500000 23 108 129.75000 -21.7500000 24 89 99.66667 -10.6666667 25 156 129.75000 26.2500000 26 129 129.75000 -0.7500000 27 118 109.94286 8.0571429 28 118 129.75000 -11.7500000 29 125 129.75000 -4.7500000 30 95 65.21260 29.7874016 31 126 129.75000 -3.7500000 32 135 129.75000 5.2500000 33 154 99.66667 54.3333333 34 165 129.75000 35.2500000 35 113 65.21260 47.7874016 36 127 129.75000 -2.7500000 37 52 65.21260 -13.2125984 38 121 109.94286 11.0571429 39 136 129.75000 6.2500000 40 0 11.93750 -11.9375000 41 108 109.94286 -1.9428571 42 46 65.21260 -19.2125984 43 54 65.21260 -11.2125984 44 124 129.75000 -5.7500000 45 115 129.75000 -14.7500000 46 128 109.94286 18.0571429 47 80 109.94286 -29.9428571 48 97 109.94286 -12.9428571 49 104 65.21260 38.7874016 50 59 65.21260 -6.2125984 51 125 129.75000 -4.7500000 52 82 65.21260 16.7874016 53 149 129.75000 19.2500000 54 149 129.75000 19.2500000 55 122 129.75000 -7.7500000 56 118 129.75000 -11.7500000 57 12 11.93750 0.0625000 58 144 129.75000 14.2500000 59 67 65.21260 1.7874016 60 52 65.21260 -13.2125984 61 108 129.75000 -21.7500000 62 166 129.75000 36.2500000 63 80 129.75000 -49.7500000 64 60 65.21260 -5.2125984 65 107 129.75000 -22.7500000 66 127 129.75000 -2.7500000 67 107 129.75000 -22.7500000 68 146 129.75000 16.2500000 69 84 129.75000 -45.7500000 70 141 109.94286 31.0571429 71 123 109.94286 13.0571429 72 111 99.66667 11.3333333 73 98 109.94286 -11.9428571 74 105 109.94286 -4.9428571 75 135 129.75000 5.2500000 76 107 129.75000 -22.7500000 77 85 129.75000 -44.7500000 78 155 129.75000 25.2500000 79 88 65.21260 22.7874016 80 155 109.94286 45.0571429 81 104 109.94286 -5.9428571 82 132 129.75000 2.2500000 83 127 129.75000 -2.7500000 84 108 129.75000 -21.7500000 85 129 109.94286 19.0571429 86 116 129.75000 -13.7500000 87 122 109.94286 12.0571429 88 85 65.21260 19.7874016 89 147 129.75000 17.2500000 90 99 99.66667 -0.6666667 91 87 129.75000 -42.7500000 92 28 65.21260 -37.2125984 93 90 65.21260 24.7874016 94 109 109.94286 -0.9428571 95 78 65.21260 12.7874016 96 111 109.94286 1.0571429 97 158 129.75000 28.2500000 98 141 129.75000 11.2500000 99 122 109.94286 12.0571429 100 124 129.75000 -5.7500000 101 93 99.66667 -6.6666667 102 124 129.75000 -5.7500000 103 112 109.94286 2.0571429 104 108 109.94286 -1.9428571 105 99 129.75000 -30.7500000 106 117 129.75000 -12.7500000 107 199 129.75000 69.2500000 108 78 65.21260 12.7874016 109 91 129.75000 -38.7500000 110 158 129.75000 28.2500000 111 126 129.75000 -3.7500000 112 122 99.66667 22.3333333 113 71 49.90000 21.1000000 114 75 109.94286 -34.9428571 115 115 129.75000 -14.7500000 116 119 129.75000 -10.7500000 117 124 129.75000 -5.7500000 118 72 99.66667 -27.6666667 119 91 65.21260 25.7874016 120 45 65.21260 -20.2125984 121 78 109.94286 -31.9428571 122 39 65.21260 -26.2125984 123 68 65.21260 2.7874016 124 119 129.75000 -10.7500000 125 117 99.66667 17.3333333 126 39 65.21260 -26.2125984 127 50 65.21260 -15.2125984 128 88 109.94286 -21.9428571 129 155 129.75000 25.2500000 130 0 11.93750 -11.9375000 131 36 49.90000 -13.9000000 132 123 129.75000 -6.7500000 133 32 65.21260 -33.2125984 134 99 65.21260 33.7874016 135 136 109.94286 26.0571429 136 117 129.75000 -12.7500000 137 0 11.93750 -11.9375000 138 88 109.94286 -21.9428571 139 39 49.90000 -10.9000000 140 25 11.93750 13.0625000 141 52 65.21260 -13.2125984 142 75 109.94286 -34.9428571 143 71 65.21260 5.7874016 144 124 129.75000 -5.7500000 145 151 109.94286 41.0571429 146 71 65.21260 5.7874016 147 145 65.21260 79.7874016 148 87 65.21260 21.7874016 149 27 49.90000 -22.9000000 150 131 99.66667 31.3333333 151 162 129.75000 32.2500000 152 165 99.66667 65.3333333 153 54 65.21260 -11.2125984 154 159 129.75000 29.2500000 155 147 129.75000 17.2500000 156 170 129.75000 40.2500000 157 119 109.94286 9.0571429 158 49 65.21260 -16.2125984 159 104 65.21260 38.7874016 160 120 109.94286 10.0571429 161 150 129.75000 20.2500000 162 112 65.21260 46.7874016 163 59 65.21260 -6.2125984 164 136 129.75000 6.2500000 165 107 65.21260 41.7874016 166 130 129.75000 0.2500000 167 115 109.94286 5.0571429 168 107 99.66667 7.3333333 169 75 65.21260 9.7874016 170 71 99.66667 -28.6666667 171 120 129.75000 -9.7500000 172 116 129.75000 -13.7500000 173 79 99.66667 -20.6666667 174 150 129.75000 20.2500000 175 156 129.75000 26.2500000 176 51 65.21260 -14.2125984 177 118 129.75000 -11.7500000 178 71 65.21260 5.7874016 179 144 129.75000 14.2500000 180 47 65.21260 -18.2125984 181 28 65.21260 -37.2125984 182 68 109.94286 -41.9428571 183 0 11.93750 -11.9375000 184 110 99.66667 10.3333333 185 147 129.75000 17.2500000 186 0 11.93750 -11.9375000 187 15 65.21260 -50.2125984 188 4 11.93750 -7.9375000 189 64 65.21260 -1.2125984 190 111 65.21260 45.7874016 191 85 99.66667 -14.6666667 192 68 65.21260 2.7874016 193 40 65.21260 -25.2125984 194 80 65.21260 14.7874016 195 88 99.66667 -11.6666667 196 48 65.21260 -17.2125984 197 76 65.21260 10.7874016 198 51 65.21260 -14.2125984 199 67 65.21260 1.7874016 200 59 65.21260 -6.2125984 201 61 65.21260 -4.2125984 202 76 65.21260 10.7874016 203 60 65.21260 -5.2125984 204 68 65.21260 2.7874016 205 71 65.21260 5.7874016 206 76 65.21260 10.7874016 207 62 65.21260 -3.2125984 208 61 99.66667 -38.6666667 209 67 65.21260 1.7874016 210 88 65.21260 22.7874016 211 30 65.21260 -35.2125984 212 64 65.21260 -1.2125984 213 68 65.21260 2.7874016 214 64 65.21260 -1.2125984 215 91 65.21260 25.7874016 216 88 65.21260 22.7874016 217 52 65.21260 -13.2125984 218 49 65.21260 -16.2125984 219 62 65.21260 -3.2125984 220 61 65.21260 -4.2125984 221 76 65.21260 10.7874016 222 88 65.21260 22.7874016 223 66 109.94286 -43.9428571 224 71 65.21260 5.7874016 225 68 49.90000 18.1000000 226 48 65.21260 -17.2125984 227 25 65.21260 -40.2125984 228 68 65.21260 2.7874016 229 41 65.21260 -24.2125984 230 90 65.21260 24.7874016 231 66 49.90000 16.1000000 232 54 65.21260 -11.2125984 233 59 65.21260 -6.2125984 234 60 65.21260 -5.2125984 235 77 65.21260 11.7874016 236 68 65.21260 2.7874016 237 72 99.66667 -27.6666667 238 67 65.21260 1.7874016 239 64 65.21260 -1.2125984 240 63 49.90000 13.1000000 241 59 65.21260 -6.2125984 242 84 99.66667 -15.6666667 243 64 65.21260 -1.2125984 244 56 65.21260 -9.2125984 245 54 65.21260 -11.2125984 246 67 65.21260 1.7874016 247 58 65.21260 -7.2125984 248 59 65.21260 -6.2125984 249 40 65.21260 -25.2125984 250 22 11.93750 10.0625000 251 83 99.66667 -16.6666667 252 81 65.21260 15.7874016 253 2 11.93750 -9.9375000 254 72 65.21260 6.7874016 255 61 65.21260 -4.2125984 256 15 11.93750 3.0625000 257 32 11.93750 20.0625000 258 62 65.21260 -3.2125984 259 58 65.21260 -7.2125984 260 36 11.93750 24.0625000 261 59 49.90000 9.1000000 262 68 65.21260 2.7874016 263 21 11.93750 9.0625000 264 55 65.21260 -10.2125984 265 54 65.21260 -11.2125984 266 55 65.21260 -10.2125984 267 72 65.21260 6.7874016 268 41 65.21260 -24.2125984 269 61 65.21260 -4.2125984 270 67 65.21260 1.7874016 271 76 65.21260 10.7874016 272 64 65.21260 -1.2125984 273 3 49.90000 -46.9000000 274 63 65.21260 -2.2125984 275 40 65.21260 -25.2125984 276 69 65.21260 3.7874016 277 48 65.21260 -17.2125984 278 8 11.93750 -3.9375000 279 52 65.21260 -13.2125984 280 66 65.21260 0.7874016 281 76 65.21260 10.7874016 282 43 65.21260 -22.2125984 283 39 65.21260 -26.2125984 284 14 11.93750 2.0625000 285 61 65.21260 -4.2125984 286 71 65.21260 5.7874016 287 44 65.21260 -21.2125984 288 60 65.21260 -5.2125984 289 64 65.21260 -1.2125984 > if (par2 != 'none') { + print(cbind(as.factor(x[,par1]),predict(m))) + myt <- table(as.factor(x[,par1]),predict(m)) + print(myt) + } > postscript(file="/var/wessaorg/rcomp/tmp/4xfma1324481123.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if(par2=='none') { + op <- par(mfrow=c(2,2)) + plot(density(result$Actuals),main='Kernel Density Plot of Actuals') + plot(density(result$Residuals),main='Kernel Density Plot of Residuals') + plot(result$Forecasts,result$Actuals,main='Actuals versus Predictions',xlab='Predictions',ylab='Actuals') + plot(density(result$Forecasts),main='Kernel Density Plot of Predictions') + par(op) + } > if(par2!='none') { + plot(myt,main='Confusion Matrix',xlab='Actual',ylab='Predicted') + } > dev.off() null device 1 > if (par2 == 'none') { + detcoef <- cor(result$Forecasts,result$Actuals) + a<-table.start() + a<-table.row.start(a) + a<-table.element(a,'Goodness of Fit',2,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'Correlation',1,TRUE) + a<-table.element(a,round(detcoef,4)) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'R-squared',1,TRUE) + a<-table.element(a,round(detcoef*detcoef,4)) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'RMSE',1,TRUE) + a<-table.element(a,round(sqrt(mean((result$Residuals)^2)),4)) + a<-table.row.end(a) + a<-table.end(a) + table.save(a,file="/var/wessaorg/rcomp/tmp/5tahw1324481123.tab") + a<-table.start() + a<-table.row.start(a) + a<-table.element(a,'Actuals, Predictions, and Residuals',4,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'#',header=TRUE) + a<-table.element(a,'Actuals',header=TRUE) + a<-table.element(a,'Forecasts',header=TRUE) + a<-table.element(a,'Residuals',header=TRUE) + a<-table.row.end(a) + for (i in 1:length(result$Actuals)) { + a<-table.row.start(a) + a<-table.element(a,i,header=TRUE) + a<-table.element(a,result$Actuals[i]) + a<-table.element(a,result$Forecasts[i]) + a<-table.element(a,result$Residuals[i]) + a<-table.row.end(a) + } + a<-table.end(a) + table.save(a,file="/var/wessaorg/rcomp/tmp/6ekt31324481123.tab") + } > if (par2 != 'none') { + a<-table.start() + a<-table.row.start(a) + a<-table.element(a,'Confusion Matrix (predicted in columns / actuals in rows)',par3+1,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'',1,TRUE) + for (i in 1:par3) { + a<-table.element(a,paste('C',i,sep=''),1,TRUE) + } + a<-table.row.end(a) + for (i in 1:par3) { + a<-table.row.start(a) + a<-table.element(a,paste('C',i,sep=''),1,TRUE) + for (j in 1:par3) { + a<-table.element(a,myt[i,j]) + } + a<-table.row.end(a) + } + a<-table.end(a) + table.save(a,file="/var/wessaorg/rcomp/tmp/7gdbm1324481123.tab") + } > > try(system("convert tmp/2mvmn1324481123.ps tmp/2mvmn1324481123.png",intern=TRUE)) character(0) > try(system("convert tmp/3ttae1324481123.ps tmp/3ttae1324481123.png",intern=TRUE)) character(0) > try(system("convert tmp/4xfma1324481123.ps tmp/4xfma1324481123.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 4.935 0.310 5.297