R version 2.7.0 (2008-04-22) Copyright (C) 2008 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(174.1 + ,145.3 + ,145.9 + ,180.4 + ,143.6 + ,158.5 + ,182.6 + ,142.8 + ,152.2 + ,207.1 + ,155.9 + ,153.7 + ,213.7 + ,156.2 + ,157.9 + ,186.5 + ,149.8 + ,154.4 + ,179.1 + ,152.7 + ,150.7 + ,168.3 + ,155.5 + ,151.2 + ,156.5 + ,159.3 + ,147.3 + ,144.3 + ,143 + ,146.6 + ,138.9 + ,141.4 + ,145.2 + ,137.8 + ,142.8 + ,139.3 + ,136.3 + ,146.4 + ,145.7 + ,140.3 + ,152.3 + ,163.3 + ,149.1 + ,164.3 + ,181.8 + ,149.2 + ,168 + ,188.1 + ,140.4 + ,171.3 + ,222.9 + ,129 + ,162.7 + ,206.3 + ,124.7 + ,150.2 + ,184.9 + ,130.8 + ,142.5 + ,183.6 + ,130.1 + ,138.2 + ,186.6 + ,133.2 + ,138 + ,176.5 + ,130.1 + ,145.1 + ,173.9 + ,126.6 + ,138.4 + ,184.9 + ,124.8 + ,131.8 + ,182.5 + ,125.3 + ,130.8 + ,183.6 + ,126.9 + ,126.3 + ,172.4 + ,120.1 + ,123 + ,168.9 + ,118.7 + ,124 + ,163.3 + ,117.7 + ,120.8 + ,152.4 + ,113.4 + ,122.1 + ,145.8 + ,107.5 + ,106.5 + ,148.6 + ,107.6 + ,104.3 + ,143.4 + ,114.3 + ,108.7 + ,141.2 + ,114.9 + ,113.8 + ,144.6 + ,111.2 + ,112.5 + ,144.5 + ,109.9 + ,106.1 + ,140.8 + ,108.6 + ,98.4 + ,133.3 + ,109.2 + ,96 + ,127.3 + ,106.4 + ,99.3 + ,119.6 + ,103.7 + ,97.5 + ,120.2 + ,103 + ,95.3 + ,121.9 + ,96.9 + ,88 + ,112.4 + ,104.7 + ,94.7 + ,111 + ,102.2 + ,99.4 + ,107.8 + ,99 + ,98.9 + ,110.5 + ,95.8 + ,96.4 + ,118.3 + ,94.5 + ,95.3 + ,123 + ,102.7 + ,99.5 + ,112.1 + ,103.2 + ,101.6 + ,104.2 + ,105.6 + ,103.9 + ,102.4 + ,103.9 + ,106.6 + ,100.3 + ,107.2 + ,108.3 + ,102.6 + ,100.7 + ,102 + ,101.5 + ,92.1 + ,93.8 + ,103.4 + ,90.3 + ,91.6 + ,99.4 + ,93.4 + ,97.7 + ,97.9 + ,98.5 + ,94.8 + ,98 + ,100.8 + ,98 + ,90.2 + ,102.3 + ,103.8 + ,87.1 + ,104.7 + ,97.8 + ,91.8 + ,101.1 + ,91.2 + ,94.8 + ,101.4 + ,89.3 + ,91.8 + ,99.5 + ,87.5 + ,89.3 + ,98.4 + ,90.4 + ,91.7 + ,96.3 + ,94.2 + ,86.2 + ,100.7 + ,102.2 + ,82.8 + ,101.2 + ,101.3 + ,82.3 + ,100.3 + ,96 + ,79.8 + ,97.8 + ,90.8 + ,79.4 + ,97.4 + ,93.2 + ,85.3 + ,98.6 + ,90.9 + ,87.5 + ,99.7 + ,91.1 + ,88.3 + ,99 + ,90.2 + ,88.6 + ,98.1 + ,94.3 + ,94.9 + ,97 + ,96 + ,94.7 + ,98.5 + ,99 + ,92.6 + ,103.8 + ,103.3 + ,91.8 + ,114.4 + ,113.1 + ,96.4 + ,124.5 + ,112.8 + ,96.4 + ,134.2 + ,112.1 + ,107.1 + ,131.8 + ,107.4 + ,111.9 + ,125.6 + ,111 + ,107.8 + ,119.9 + ,110.5 + ,109.2 + ,114.9 + ,110.8 + ,115.3 + ,115.5 + ,112.4 + ,119.2 + ,112.5 + ,111.5 + ,107.8 + ,111.4 + ,116.2 + ,106.8 + ,115.3 + ,122.5 + ,104.2 + ,110.8 + ,121.3 + ,94.8 + ,103.7 + ,113.9 + ,97.5 + ,111.1 + ,110.7 + ,98.3 + ,113 + ,120.8 + ,100.6 + ,111.2 + ,141.1 + ,94.9 + ,117.6 + ,147.4 + ,93.6 + ,121.7 + ,148 + ,98 + ,127.3 + ,158.1 + ,104.3 + ,129.8 + ,165 + ,103.9 + ,137.1 + ,187 + ,105.3 + ,141.4 + ,190.3 + ,102.6 + ,137.4 + ,182.4 + ,103.3 + ,130.7 + ,168.8 + ,107.9 + ,117.2 + ,151.2 + ,107.8 + ,110.8 + ,120.1 + ,109.8 + ,111.4 + ,112.5 + ,110.6 + ,108.2 + ,106.2 + ,110.8 + ,108.8 + ,107.1 + ,119.3 + ,110.2 + ,108.5 + ,128.1 + ,109.5 + ,106.5 + ,127.6 + ,109.5 + ,108.3 + ,137.9 + ,116 + ,125.6 + ,151.4 + ,111.2 + ,124 + ,143.6 + ,112.1 + ,127.2 + ,143.4 + ,114 + ,136.9 + ,141.9 + ,119.1 + ,135.8 + ,135.2 + ,114.1 + ,124.3 + ,133.1 + ,115.1 + ,115.4 + ,129.6 + ,115.4 + ,113.6 + ,134.1 + ,110.8 + ,114.4 + ,136.8 + ,116 + ,118.4 + ,143.5 + ,119.2 + ,117 + ,162.5 + ,126.5 + ,116.5 + ,163.1 + ,127.8 + ,115.4 + ,157.2 + ,131.3 + ,113.6 + ,158.8 + ,140.3 + ,117.4 + ,155.4 + ,137.3 + ,116.9 + ,148.5 + ,143 + ,116.4 + ,154.2 + ,134.5 + ,111.1 + ,153.3 + ,139.9 + ,110.2 + ,149.4 + ,159.3 + ,118.9 + ,147.9 + ,170.4 + ,131.8 + ,156 + ,175 + ,130.6 + ,163 + ,175.8 + ,138.3 + ,159.1 + ,180.9 + ,148.4 + ,159.5 + ,180.3 + ,148.7 + ,157.3 + ,169.6 + ,144.3 + ,156.4 + ,172.3 + ,152.5 + ,156.6 + ,184.8 + ,162.9 + ,162.4 + ,177.7 + ,167.2 + ,166.8 + ,184.6 + ,166.5 + ,162.6 + ,211.4 + ,185.6 + ,168.1) + ,dim=c(3 + ,141) + ,dimnames=list(c('Graan' + ,'Olie' + ,'Suiker') + ,1:141)) > y <- array(NA,dim=c(3,141),dimnames=list(c('Graan','Olie','Suiker'),1:141)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par4 = 'TRUE' > par3 = 'TRUE' > par2 = 'ALL' > par1 = 'ward' > ylab = 'height' > xlab = 'cases' > main = 'Dendrogram' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa, P., (2007), Hierarchical Clustering (v1.0.1) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_hierarchicalclustering.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > par3 <- as.logical(par3) > par4 <- as.logical(par4) > if (par3 == 'TRUE'){ + dum = xlab + xlab = ylab + ylab = dum + } > x <- t(y) > hc <- hclust(dist(x),method=par1) > d <- as.dendrogram(hc) > str(d) --[dendrogram w/ 2 branches and 141 members at h = 2628] |--[dendrogram w/ 2 branches and 58 members at h = 389] | |--[dendrogram w/ 2 branches and 24 members at h = 54.6] | | |--[dendrogram w/ 2 branches and 6 members at h = 15.8] | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.91] | | | | |--leaf "55" | | | | `--leaf "56" | | | `--[dendrogram w/ 2 branches and 4 members at h = 7.25] | | | |--leaf "57" | | | `--[dendrogram w/ 2 branches and 3 members at h = 3.98] | | | |--leaf "58" | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.03] | | | |--leaf "75" | | | `--leaf "76" | | `--[dendrogram w/ 2 branches and 18 members at h = 45.9] | | |--[dendrogram w/ 2 branches and 9 members at h = 14.7] | | | |--[dendrogram w/ 2 branches and 4 members at h = 5.5] | | | | |--leaf "62" | | | | `--[dendrogram w/ 2 branches and 3 members at h = 3.96] | | | | |--leaf "64" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 3.2] | | | | |--leaf "63" | | | | `--leaf "65" | | | `--[dendrogram w/ 2 branches and 5 members at h = 8.77] | | | |--[dendrogram w/ 2 branches and 3 members at h = 1.43] | | | | |--leaf "72" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 1.18] | | | | |--leaf "73" | | | | `--leaf "74" | | | `--[dendrogram w/ 2 branches and 2 members at h = 1.74] | | | |--leaf "66" | | | `--leaf "71" | | `--[dendrogram w/ 2 branches and 9 members at h = 28.5] | | |--[dendrogram w/ 2 branches and 5 members at h = 9.96] | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.96] | | | | |--leaf "60" | | | | `--leaf "78" | | | `--[dendrogram w/ 2 branches and 3 members at h = 5.9] | | | |--leaf "61" | | | `--[dendrogram w/ 2 branches and 2 members at h = 3.47] | | | |--leaf "59" | | | `--leaf "77" | | `--[dendrogram w/ 2 branches and 4 members at h = 14.8] | | |--[dendrogram w/ 2 branches and 2 members at h = 1.14] | | | |--leaf "67" | | | `--leaf "68" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.78] | | |--leaf "69" | | `--leaf "70" | `--[dendrogram w/ 2 branches and 34 members at h = 174] | |--[dendrogram w/ 2 branches and 10 members at h = 28.6] | | |--[dendrogram w/ 2 branches and 4 members at h = 7.21] | | | |--leaf "44" | | | `--[dendrogram w/ 2 branches and 3 members at h = 4.34] | | | |--leaf "45" | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.08] | | | |--leaf "46" | | | `--leaf "49" | | `--[dendrogram w/ 2 branches and 6 members at h = 20.8] | | |--[dendrogram w/ 2 branches and 3 members at h = 5.07] | | | |--leaf "40" | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.87] | | | |--leaf "41" | | | `--leaf "42" | | `--[dendrogram w/ 2 branches and 3 members at h = 13.9] | | |--leaf "43" | | `--[dendrogram w/ 2 branches and 2 members at h = 5] | | |--leaf "47" | | `--leaf "48" | `--[dendrogram w/ 2 branches and 24 members at h = 77.3] | |--[dendrogram w/ 2 branches and 5 members at h = 18] | | |--[dendrogram w/ 2 branches and 2 members at h = 7.13] | | | |--leaf "81" | | | `--leaf "82" | | `--[dendrogram w/ 2 branches and 3 members at h = 15.0] | | |--leaf "80" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.89] | | |--leaf "83" | | `--leaf "84" | `--[dendrogram w/ 2 branches and 19 members at h = 61.3] | |--[dendrogram w/ 2 branches and 8 members at h = 23.2] | | |--[dendrogram w/ 2 branches and 4 members at h = 9.38] | | | |--[dendrogram w/ 2 branches and 2 members at h = 3.17] | | | | |--leaf "87" | | | | `--leaf "105" | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.96] | | | |--leaf "88" | | | `--leaf "104" | | `--[dendrogram w/ 2 branches and 4 members at h = 13.0] | | |--[dendrogram w/ 2 branches and 2 members at h = 4.26] | | | |--leaf "85" | | | `--leaf "86" | | `--[dendrogram w/ 2 branches and 2 members at h = 8.57] | | |--leaf "106" | | `--leaf "107" | `--[dendrogram w/ 2 branches and 11 members at h = 52.5] | |--[dendrogram w/ 2 branches and 5 members at h = 9.67] | | |--[dendrogram w/ 2 branches and 2 members at h = 3.7] | | | |--leaf "50" | | | `--leaf "54" | | `--[dendrogram w/ 2 branches and 3 members at h = 4.76] | | |--leaf "53" | | `--[dendrogram w/ 2 branches and 2 members at h = 3.82] | | |--leaf "51" | | `--leaf "52" | `--[dendrogram w/ 2 branches and 6 members at h = 19.9] | |--[dendrogram w/ 2 branches and 3 members at h = 9.61] | | |--leaf "90" | | `--[dendrogram w/ 2 branches and 2 members at h = 4.6] | | |--leaf "89" | | `--leaf "93" | `--[dendrogram w/ 2 branches and 3 members at h = 11.1] | |--leaf "91" | `--[dendrogram w/ 2 branches and 2 members at h = 4.5] | |--leaf "79" | `--leaf "92" `--[dendrogram w/ 2 branches and 83 members at h = 1081] |--[dendrogram w/ 2 branches and 19 members at h = 137] | |--[dendrogram w/ 2 branches and 13 members at h = 45.8] | | |--[dendrogram w/ 2 branches and 3 members at h = 8.96] | | | |--leaf "133" | | | `--[dendrogram w/ 2 branches and 2 members at h = 8.46] | | | |--leaf "131" | | | `--leaf "132" | | `--[dendrogram w/ 2 branches and 10 members at h = 31.1] | | |--[dendrogram w/ 2 branches and 5 members at h = 11.1] | | | |--[dendrogram w/ 2 branches and 3 members at h = 6.01] | | | | |--leaf "2" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.3] | | | | |--leaf "134" | | | | `--leaf "135" | | | `--[dendrogram w/ 2 branches and 2 members at h = 8.31] | | | |--leaf "3" | | | `--leaf "6" | | `--[dendrogram w/ 2 branches and 5 members at h = 14.9] | | |--[dendrogram w/ 2 branches and 2 members at h = 10.1] | | | |--leaf "1" | | | `--leaf "7" | | `--[dendrogram w/ 2 branches and 3 members at h = 11.6] | | |--leaf "136" | | `--[dendrogram w/ 2 branches and 2 members at h = 7.36] | | |--leaf "8" | | `--leaf "137" | `--[dendrogram w/ 2 branches and 6 members at h = 66.4] | |--[dendrogram w/ 2 branches and 3 members at h = 10.5] | | |--leaf "139" | | `--[dendrogram w/ 2 branches and 2 members at h = 3.61] | | |--leaf "138" | | `--leaf "140" | `--[dendrogram w/ 2 branches and 3 members at h = 40.4] | |--leaf "141" | `--[dendrogram w/ 2 branches and 2 members at h = 7.83] | |--leaf "4" | `--leaf "5" `--[dendrogram w/ 2 branches and 64 members at h = 713] |--[dendrogram w/ 2 branches and 10 members at h = 113] | |--[dendrogram w/ 2 branches and 3 members at h = 8.28] | | |--leaf "100" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.02] | | |--leaf "99" | | `--leaf "101" | `--[dendrogram w/ 2 branches and 7 members at h = 53.9] | |--[dendrogram w/ 2 branches and 3 members at h = 10.9] | | |--leaf "97" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.59] | | |--leaf "98" | | `--leaf "102" | `--[dendrogram w/ 2 branches and 4 members at h = 17.0] | |--leaf "103" | `--[dendrogram w/ 2 branches and 3 members at h = 12.7] | |--leaf "94" | `--[dendrogram w/ 2 branches and 2 members at h = 6.04] | |--leaf "95" | `--leaf "96" `--[dendrogram w/ 2 branches and 54 members at h = 572] |--[dendrogram w/ 2 branches and 23 members at h = 110] | |--[dendrogram w/ 2 branches and 8 members at h = 34.4] | | |--[dendrogram w/ 2 branches and 2 members at h = 8.5] | | | |--leaf "114" | | | `--leaf "115" | | `--[dendrogram w/ 2 branches and 6 members at h = 16.5] | | |--[dendrogram w/ 2 branches and 2 members at h = 5.19] | | | |--leaf "30" | | | `--leaf "111" | | `--[dendrogram w/ 2 branches and 4 members at h = 9.01] | | |--[dendrogram w/ 2 branches and 2 members at h = 3.33] | | | |--leaf "112" | | | `--leaf "113" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.07] | | |--leaf "31" | | `--leaf "120" | `--[dendrogram w/ 2 branches and 15 members at h = 49] | |--[dendrogram w/ 2 branches and 4 members at h = 17.9] | | |--[dendrogram w/ 2 branches and 2 members at h = 2.18] | | | |--leaf "108" | | | `--leaf "109" | | `--[dendrogram w/ 2 branches and 2 members at h = 6.49] | | |--leaf "38" | | `--leaf "39" | `--[dendrogram w/ 2 branches and 11 members at h = 40.1] | |--[dendrogram w/ 2 branches and 4 members at h = 12.6] | | |--leaf "116" | | `--[dendrogram w/ 2 branches and 3 members at h = 7.6] | | |--leaf "119" | | `--[dendrogram w/ 2 branches and 2 members at h = 4.86] | | |--leaf "117" | | `--leaf "118" | `--[dendrogram w/ 2 branches and 7 members at h = 14.5] | |--[dendrogram w/ 2 branches and 2 members at h = 3.92] | | |--leaf "35" | | `--leaf "36" | `--[dendrogram w/ 2 branches and 5 members at h = 12.2] | |--[dendrogram w/ 2 branches and 2 members at h = 5.65] | | |--leaf "32" | | `--leaf "33" | `--[dendrogram w/ 2 branches and 3 members at h = 6.09] | |--leaf "34" | `--[dendrogram w/ 2 branches and 2 members at h = 3.66] | |--leaf "37" | `--leaf "110" `--[dendrogram w/ 2 branches and 31 members at h = 310] |--[dendrogram w/ 2 branches and 12 members at h = 128] | |--[dendrogram w/ 2 branches and 8 members at h = 24.9] | | |--[dendrogram w/ 2 branches and 2 members at h = 1.57] | | | |--leaf "25" | | | `--leaf "26" | | `--[dendrogram w/ 2 branches and 6 members at h = 18.9] | | |--[dendrogram w/ 2 branches and 2 members at h = 8.17] | | | |--leaf "22" | | | `--leaf "23" | | `--[dendrogram w/ 2 branches and 4 members at h = 15.0] | | |--leaf "19" | | `--[dendrogram w/ 2 branches and 3 members at h = 6.24] | | |--leaf "20" | | `--[dendrogram w/ 2 branches and 2 members at h = 3.9] | | |--leaf "21" | | `--leaf "24" | `--[dendrogram w/ 2 branches and 4 members at h = 54.4] | |--[dendrogram w/ 2 branches and 2 members at h = 7.3] | | |--leaf "15" | | `--leaf "16" | `--[dendrogram w/ 2 branches and 2 members at h = 21.9] | |--leaf "17" | `--leaf "18" `--[dendrogram w/ 2 branches and 19 members at h = 180] |--[dendrogram w/ 2 branches and 6 members at h = 37.3] | |--[dendrogram w/ 2 branches and 4 members at h = 8.94] | | |--leaf "10" | | `--[dendrogram w/ 2 branches and 3 members at h = 7.22] | | |--leaf "12" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.66] | | |--leaf "11" | | `--leaf "13" | `--[dendrogram w/ 2 branches and 2 members at h = 23.8] | |--leaf "9" | `--leaf "14" `--[dendrogram w/ 2 branches and 13 members at h = 87] |--[dendrogram w/ 2 branches and 7 members at h = 27.8] | |--[dendrogram w/ 2 branches and 3 members at h = 11.9] | | |--leaf "27" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.86] | | |--leaf "28" | | `--leaf "29" | `--[dendrogram w/ 2 branches and 4 members at h = 12.5] | |--[dendrogram w/ 2 branches and 2 members at h = 4.25] | | |--leaf "123" | | `--leaf "124" | `--[dendrogram w/ 2 branches and 2 members at h = 7.34] | |--leaf "121" | `--leaf "122" `--[dendrogram w/ 2 branches and 6 members at h = 30.9] |--leaf "130" `--[dendrogram w/ 2 branches and 5 members at h = 13.2] |--[dendrogram w/ 2 branches and 2 members at h = 3.12] | |--leaf "125" | `--leaf "127" `--[dendrogram w/ 2 branches and 3 members at h = 7.94] |--leaf "126" `--[dendrogram w/ 2 branches and 2 members at h = 6.72] |--leaf "128" `--leaf "129" > mysub <- paste('Method: ',par1) > postscript(file="/var/www/html/rcomp/tmp/1reao1226419550.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par4 == 'TRUE'){ + plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub) + } else { + plot(d,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub) + } > dev.off() null device 1 > if (par2 != 'ALL'){ + if (par3 == 'TRUE'){ + ylab = 'cluster' + } else { + xlab = 'cluster' + } + par2 <- as.numeric(par2) + memb <- cutree(hc, k = par2) + cent <- NULL + for(k in 1:par2){ + cent <- rbind(cent, colMeans(x[memb == k, , drop = FALSE])) + } + hc1 <- hclust(dist(cent),method=par1, members = table(memb)) + de <- as.dendrogram(hc1) + postscript(file="/var/www/html/rcomp/tmp/2jksq1226419550.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) + if (par4 == 'TRUE'){ + plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8),type='t',center=T, sub=mysub) + } else { + plot(de,main=main,ylab=ylab,xlab=xlab,horiz=par3, nodePar=list(pch = c(1,NA), cex=0.8, lab.cex = 0.8), sub=mysub) + } + dev.off() + str(de) + } > > #Note: the /var/www/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Summary of Dendrogram',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Label',header=TRUE) > a<-table.element(a,'Height',header=TRUE) > a<-table.row.end(a) > num <- length(x[,1])-1 > for (i in 1:num) + { + a<-table.row.start(a) + a<-table.element(a,hc$labels[i]) + a<-table.element(a,hc$height[i]) + a<-table.row.end(a) + } > a<-table.end(a) > table.save(a,file="/var/www/html/rcomp/tmp/36vkw1226419550.tab") > if (par2 != 'ALL'){ + a<-table.start() + a<-table.row.start(a) + a<-table.element(a,'Summary of Cut Dendrogram',2,TRUE) + a<-table.row.end(a) + a<-table.row.start(a) + a<-table.element(a,'Label',header=TRUE) + a<-table.element(a,'Height',header=TRUE) + a<-table.row.end(a) + num <- par2-1 + for (i in 1:num) + { + a<-table.row.start(a) + a<-table.element(a,i) + a<-table.element(a,hc1$height[i]) + a<-table.row.end(a) + } + a<-table.end(a) + table.save(a,file="/var/www/html/rcomp/tmp/4q6u41226419550.tab") + } > > system("convert tmp/1reao1226419550.ps tmp/1reao1226419550.png") > system("convert tmp/2jksq1226419550.ps tmp/2jksq1226419550.png") convert: unable to open image `tmp/2jksq1226419550.ps': No such file or directory. convert: missing an image filename `tmp/2jksq1226419550.png'. > > > proc.time() user system elapsed 3.343 0.523 3.453