R version 2.7.2 (2008-08-25) 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(110.40 + ,109.20 + ,99.90 + ,72.50 + ,96.40 + ,88.60 + ,99.80 + ,59.40 + ,101.90 + ,94.30 + ,99.80 + ,85.70 + ,106.20 + ,98.30 + ,100.30 + ,88.20 + ,81.00 + ,86.40 + ,99.90 + ,62.80 + ,94.70 + ,80.60 + ,99.90 + ,87.00 + ,101.00 + ,104.10 + ,100.00 + ,79.20 + ,109.40 + ,108.20 + ,100.10 + ,112.00 + ,102.30 + ,93.40 + ,100.10 + ,79.20 + ,90.70 + ,71.90 + ,100.20 + ,132.10 + ,96.20 + ,94.10 + ,100.30 + ,40.10 + ,96.10 + ,94.90 + ,100.60 + ,69.00 + ,106.00 + ,96.40 + ,100.00 + ,59.40 + ,103.10 + ,91.10 + ,100.10 + ,73.80 + ,102.00 + ,84.40 + ,100.20 + ,57.40 + ,104.70 + ,86.40 + ,100.00 + ,81.10 + ,86.00 + ,88.00 + ,100.10 + ,46.60 + ,92.10 + ,75.10 + ,100.10 + ,41.40 + ,106.90 + ,109.70 + ,100.10 + ,71.20 + ,112.60 + ,103.00 + ,100.50 + ,67.90 + ,101.70 + ,82.10 + ,100.50 + ,72.00 + ,92.00 + ,68.00 + ,100.50 + ,145.50 + ,97.40 + ,96.40 + ,96.30 + ,39.70 + ,97.00 + ,94.30 + ,96.30 + ,51.90 + ,105.40 + ,90.00 + ,96.80 + ,73.70 + ,102.70 + ,88.00 + ,96.80 + ,70.90 + ,98.10 + ,76.10 + ,96.90 + ,60.80 + ,104.50 + ,82.50 + ,96.80 + ,61.00 + ,87.40 + ,81.40 + ,96.80 + ,54.50 + ,89.90 + ,66.50 + ,96.80 + ,39.10 + ,109.80 + ,97.20 + ,96.80 + ,66.60 + ,111.70 + ,94.10 + ,97.00 + ,58.50 + ,98.60 + ,80.70 + ,97.00 + ,59.80 + ,96.90 + ,70.50 + ,97.00 + ,80.90 + ,95.10 + ,87.80 + ,96.80 + ,37.30 + ,97.00 + ,89.50 + ,96.90 + ,44.60 + ,112.70 + ,99.60 + ,97.20 + ,48.70 + ,102.90 + ,84.20 + ,97.30 + ,54.00 + ,97.40 + ,75.10 + ,97.30 + ,49.50 + ,111.40 + ,92.00 + ,97.20 + ,61.60 + ,87.40 + ,80.80 + ,97.30 + ,35.00 + ,96.80 + ,73.10 + ,97.30 + ,35.70 + ,114.10 + ,99.80 + ,97.30 + ,51.30 + ,110.30 + ,90.00 + ,97.30 + ,49.00 + ,103.90 + ,83.10 + ,97.30 + ,41.50 + ,101.60 + ,72.40 + ,97.30 + ,72.50 + ,94.60 + ,78.80 + ,98.10 + ,42.10 + ,95.90 + ,87.30 + ,96.80 + ,44.10 + ,104.70 + ,91.00 + ,96.80 + ,45.10 + ,102.80 + ,80.10 + ,96.80 + ,50.30 + ,98.10 + ,73.60 + ,96.80 + ,40.90 + ,113.90 + ,86.40 + ,96.80 + ,47.20 + ,80.90 + ,74.50 + ,96.80 + ,36.90 + ,95.70 + ,71.20 + ,96.80 + ,40.90 + ,113.20 + ,92.40 + ,96.80 + ,38.30 + ,105.90 + ,81.50 + ,96.80 + ,46.30 + ,108.80 + ,85.30 + ,96.80 + ,28.40 + ,102.30 + ,69.90 + ,96.80 + ,78.40 + ,99.00 + ,84.20 + ,96.90 + ,36.80 + ,100.70 + ,90.70 + ,97.10 + ,50.70 + ,115.50 + ,100.30 + ,97.10 + ,42.80 + ,135 + ,125 + ,149 + ,170 + ,170 + ,158 + ,133 + ,114 + ,140 + ,145 + ,150 + ,178 + ,163 + ,172 + ,178 + ,199 + ,199 + ,184 + ,162 + ,146 + ,166 + ,171 + ,180 + ,193 + ,181 + ,183 + ,218 + ,230 + ,242 + ,209 + ,191 + ,172 + ,194 + ,196 + ,196 + ,236 + ,235 + ,229 + ,243 + ,264 + ,272 + ,237 + ,211 + ,180 + ,201 + ,204 + ,188 + ,235 + ,227 + ,234 + ,264 + ,302 + ,293 + ,259 + ,229 + ,203 + ,229 + ,242 + ,233 + ,267 + ,269 + ,270 + ,315 + ,364 + ,347 + ,312 + ,274 + ,237 + ,278 + ,284 + ,277 + ,317 + ,313 + ,318 + ,374 + ,413 + ,405 + ,355 + ,306 + ,271 + ,306 + ,315 + ,301 + ,356 + ,348 + ,355 + ,422 + ,465 + ,467 + ,404 + ,347 + ,305 + ,336 + ,340 + ,318 + ,362 + ,348 + ,363 + ,435 + ,491 + ,505 + ,404 + ,359 + ,310 + ,337 + ,360 + ,342 + ,406 + ,396 + ,420 + ,472 + ,548 + ,559 + ,463 + ,407 + ,362 + ,405 + ,417 + ,391 + ,419 + ,461 + ,472 + ,535 + ,622 + ,606 + ,508 + ,461 + ,390 + ,432) + ,dim=c(4 + ,190) + ,dimnames=list(c('X' + ,'Y' + ,'W' + ,'Z') + ,1:190)) > y <- array(NA,dim=c(4,190),dimnames=list(c('X','Y','W','Z'),1:190)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par4 = 'FALSE' > par3 = 'FALSE' > 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: AUTHOR(S), (YEAR), 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: 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 190 members at h = 22918] |--[dendrogram w/ 2 branches and 125 members at h = 2430] | |--[dendrogram w/ 2 branches and 60 members at h = 395] | | |--[dendrogram w/ 2 branches and 23 members at h = 172] | | | |--[dendrogram w/ 2 branches and 20 members at h = 105] | | | | |--[dendrogram w/ 2 branches and 12 members at h = 41.8] | | | | | |--[dendrogram w/ 2 branches and 2 members at h = 8.83] | | | | | | |--leaf "98" | | | | | | `--leaf "110" | | | | | `--[dendrogram w/ 2 branches and 10 members at h = 38.3] | | | | | |--[dendrogram w/ 2 branches and 6 members at h = 15.4] | | | | | | |--[dendrogram w/ 2 branches and 2 members at h = 5.87] | | | | | | | |--leaf "128" | | | | | | | `--leaf "152" | | | | | | `--[dendrogram w/ 2 branches and 4 members at h = 9.32] | | | | | | |--leaf "114" | | | | | | `--[dendrogram w/ 2 branches and 3 members at h = 7.82] | | | | | | |--leaf "95" | | | | | | `--[dendrogram w/ 2 branches and 2 members at h = 5] | | | | | | |--leaf "108" | | | | | | `--leaf "119" | | | | | `--[dendrogram w/ 2 branches and 4 members at h = 16] | | | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.85] | | | | | | |--leaf "120" | | | | | | `--leaf "140" | | | | | `--[dendrogram w/ 2 branches and 2 members at h = 8.3] | | | | | |--leaf "103" | | | | | `--leaf "115" | | | | `--[dendrogram w/ 2 branches and 8 members at h = 51.6] | | | | |--[dendrogram w/ 2 branches and 4 members at h = 17.9] | | | | | |--[dendrogram w/ 2 branches and 2 members at h = 3.43] | | | | | | |--leaf "96" | | | | | | `--leaf "107" | | | | | `--[dendrogram w/ 2 branches and 2 members at h = 7.25] | | | | | |--leaf "106" | | | | | `--leaf "125" | | | | `--[dendrogram w/ 2 branches and 4 members at h = 21.3] | | | | |--[dendrogram w/ 2 branches and 2 members at h = 7.9] | | | | | |--leaf "97" | | | | | `--leaf "100" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 10.1] | | | | |--leaf "101" | | | | `--leaf "113" | | | `--[dendrogram w/ 2 branches and 3 members at h = 110] | | | |--leaf "155" | | | `--[dendrogram w/ 2 branches and 2 members at h = 14.0] | | | |--leaf "10" | | | `--leaf "22" | | `--[dendrogram w/ 2 branches and 37 members at h = 182] | | |--[dendrogram w/ 2 branches and 21 members at h = 64.5] | | | |--[dendrogram w/ 2 branches and 7 members at h = 22.6] | | | | |--[dendrogram w/ 2 branches and 4 members at h = 14.6] | | | | | |--[dendrogram w/ 2 branches and 2 members at h = 6.04] | | | | | | |--leaf "145" | | | | | | `--leaf "148" | | | | | `--[dendrogram w/ 2 branches and 2 members at h = 6.09] | | | | | |--leaf "124" | | | | | `--leaf "136" | | | | `--[dendrogram w/ 2 branches and 3 members at h = 16.7] | | | | |--leaf "112" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 6.75] | | | | |--leaf "130" | | | | `--leaf "154" | | | `--[dendrogram w/ 2 branches and 14 members at h = 52.4] | | | |--[dendrogram w/ 2 branches and 5 members at h = 9.8] | | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.45] | | | | | |--leaf "105" | | | | | `--leaf "117" | | | | `--[dendrogram w/ 2 branches and 3 members at h = 7.57] | | | | |--leaf "141" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 3.93] | | | | |--leaf "129" | | | | `--leaf "153" | | | `--[dendrogram w/ 2 branches and 9 members at h = 24.1] | | | |--[dendrogram w/ 2 branches and 5 members at h = 11.2] | | | | |--[dendrogram w/ 2 branches and 3 members at h = 6.86] | | | | | |--leaf "118" | | | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.91] | | | | | |--leaf "133" | | | | | `--leaf "137" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 7.36] | | | | |--leaf "142" | | | | `--leaf "150" | | | `--[dendrogram w/ 2 branches and 4 members at h = 12.9] | | | |--leaf "149" | | | `--[dendrogram w/ 2 branches and 3 members at h = 6.53] | | | |--leaf "143" | | | `--[dendrogram w/ 2 branches and 2 members at h = 1.52] | | | |--leaf "131" | | | `--leaf "138" | | `--[dendrogram w/ 2 branches and 16 members at h = 85.2] | | |--[dendrogram w/ 2 branches and 4 members at h = 13.6] | | | |--leaf "151" | | | `--[dendrogram w/ 2 branches and 3 members at h = 9.49] | | | |--leaf "139" | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.95] | | | |--leaf "135" | | | `--leaf "147" | | `--[dendrogram w/ 2 branches and 12 members at h = 43] | | |--[dendrogram w/ 2 branches and 6 members at h = 20.7] | | | |--leaf "146" | | | `--[dendrogram w/ 2 branches and 5 members at h = 15.7] | | | |--[dendrogram w/ 2 branches and 2 members at h = 9.65] | | | | |--leaf "123" | | | | `--leaf "127" | | | `--[dendrogram w/ 2 branches and 3 members at h = 10.3] | | | |--leaf "111" | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.08] | | | |--leaf "132" | | | `--leaf "144" | | `--[dendrogram w/ 2 branches and 6 members at h = 27.8] | | |--[dendrogram w/ 2 branches and 2 members at h = 0.985] | | | |--leaf "122" | | | `--leaf "134" | | `--[dendrogram w/ 2 branches and 4 members at h = 13.2] | | |--[dendrogram w/ 2 branches and 2 members at h = 6.09] | | | |--leaf "109" | | | `--leaf "121" | | `--[dendrogram w/ 2 branches and 2 members at h = 6.49] | | |--leaf "99" | | `--leaf "126" | `--[dendrogram w/ 2 branches and 65 members at h = 565] | |--[dendrogram w/ 2 branches and 37 members at h = 127] | | |--[dendrogram w/ 2 branches and 9 members at h = 26.7] | | | |--[dendrogram w/ 2 branches and 2 members at h = 9.26] | | | | |--leaf "41" | | | | `--leaf "53" | | | `--[dendrogram w/ 2 branches and 7 members at h = 14.8] | | | |--[dendrogram w/ 2 branches and 3 members at h = 10.9] | | | | |--leaf "39" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.94] | | | | |--leaf "18" | | | | `--leaf "47" | | | `--[dendrogram w/ 2 branches and 4 members at h = 12] | | | |--leaf "30" | | | `--[dendrogram w/ 2 branches and 3 members at h = 6.25] | | | |--leaf "42" | | | `--[dendrogram w/ 2 branches and 2 members at h = 3.39] | | | |--leaf "51" | | | `--leaf "54" | | `--[dendrogram w/ 2 branches and 28 members at h = 105] | | |--[dendrogram w/ 2 branches and 9 members at h = 42.9] | | | |--[dendrogram w/ 2 branches and 6 members at h = 13.7] | | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.73] | | | | | |--leaf "27" | | | | | `--leaf "33" | | | | `--[dendrogram w/ 2 branches and 4 members at h = 10.9] | | | | |--leaf "2" | | | | `--[dendrogram w/ 2 branches and 3 members at h = 7.32] | | | | |--leaf "28" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.56] | | | | |--leaf "15" | | | | `--leaf "38" | | | `--[dendrogram w/ 2 branches and 3 members at h = 15.7] | | | |--leaf "5" | | | `--[dendrogram w/ 2 branches and 2 members at h = 10.9] | | | |--leaf "17" | | | `--leaf "29" | | `--[dendrogram w/ 2 branches and 19 members at h = 57.1] | | |--[dendrogram w/ 2 branches and 8 members at h = 23.4] | | | |--[dendrogram w/ 2 branches and 2 members at h = 5.36] | | | | |--leaf "24" | | | | `--leaf "60" | | | `--[dendrogram w/ 2 branches and 6 members at h = 15.3] | | | |--[dendrogram w/ 2 branches and 2 members at h = 4.78] | | | | |--leaf "11" | | | | `--leaf "23" | | | `--[dendrogram w/ 2 branches and 4 members at h = 12.5] | | | |--[dendrogram w/ 2 branches and 2 members at h = 2.51] | | | | |--leaf "36" | | | | `--leaf "48" | | | `--[dendrogram w/ 2 branches and 2 members at h = 5.33] | | | |--leaf "35" | | | `--leaf "59" | | `--[dendrogram w/ 2 branches and 11 members at h = 44] | | |--[dendrogram w/ 2 branches and 3 members at h = 9.15] | | | |--leaf "61" | | | `--[dendrogram w/ 2 branches and 2 members at h = 2.96] | | | |--leaf "37" | | | `--leaf "43" | | `--[dendrogram w/ 2 branches and 8 members at h = 23.9] | | |--leaf "57" | | `--[dendrogram w/ 2 branches and 7 members at h = 22.8] | | |--[dendrogram w/ 2 branches and 3 members at h = 8.14] | | | |--leaf "45" | | | `--[dendrogram w/ 2 branches and 2 members at h = 5.25] | | | |--leaf "50" | | | `--leaf "56" | | `--[dendrogram w/ 2 branches and 4 members at h = 12.7] | | |--leaf "55" | | `--[dendrogram w/ 2 branches and 3 members at h = 9.8] | | |--leaf "49" | | `--[dendrogram w/ 2 branches and 2 members at h = 5.42] | | |--leaf "44" | | `--leaf "52" | `--[dendrogram w/ 2 branches and 28 members at h = 155] | |--[dendrogram w/ 2 branches and 17 members at h = 69.8] | | |--[dendrogram w/ 2 branches and 9 members at h = 32.5] | | | |--[dendrogram w/ 2 branches and 4 members at h = 13.5] | | | | |--[dendrogram w/ 2 branches and 2 members at h = 6.4] | | | | | |--leaf "3" | | | | | `--leaf "4" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 7.64] | | | | |--leaf "9" | | | | `--leaf "16" | | | `--[dendrogram w/ 2 branches and 5 members at h = 14.5] | | | |--leaf "12" | | | `--[dendrogram w/ 2 branches and 4 members at h = 10.7] | | | |--leaf "21" | | | `--[dendrogram w/ 2 branches and 3 members at h = 5.12] | | | |--leaf "26" | | | `--[dendrogram w/ 2 branches and 2 members at h = 4.17] | | | |--leaf "14" | | | `--leaf "25" | | `--[dendrogram w/ 2 branches and 8 members at h = 42.3] | | |--[dendrogram w/ 2 branches and 3 members at h = 14.8] | | | |--leaf "7" | | | `--[dendrogram w/ 2 branches and 2 members at h = 3.77] | | | |--leaf "1" | | | `--leaf "19" | | `--[dendrogram w/ 2 branches and 5 members at h = 16.3] | | |--[dendrogram w/ 2 branches and 2 members at h = 7.54] | | | |--leaf "20" | | | `--leaf "31" | | `--[dendrogram w/ 2 branches and 3 members at h = 8.56] | | |--leaf "13" | | `--[dendrogram w/ 2 branches and 2 members at h = 3.76] | | |--leaf "32" | | `--leaf "40" | `--[dendrogram w/ 2 branches and 11 members at h = 145] | |--[dendrogram w/ 2 branches and 7 members at h = 33.4] | | |--[dendrogram w/ 2 branches and 3 members at h = 8.86] | | | |--leaf "46" | | | `--[dendrogram w/ 2 branches and 2 members at h = 5.98] | | | |--leaf "34" | | | `--leaf "58" | | `--[dendrogram w/ 2 branches and 4 members at h = 25.3] | | |--leaf "189" | | `--[dendrogram w/ 2 branches and 3 members at h = 19.1] | | |--leaf "190" | | `--[dendrogram w/ 2 branches and 2 members at h = 10.4] | | |--leaf "6" | | `--leaf "188" | `--[dendrogram w/ 2 branches and 4 members at h = 47.9] | |--[dendrogram w/ 2 branches and 2 members at h = 14.2] | | |--leaf "104" | | `--leaf "116" | `--[dendrogram w/ 2 branches and 2 members at h = 15.1] | |--leaf "8" | `--leaf "102" `--[dendrogram w/ 2 branches and 65 members at h = 6652] |--[dendrogram w/ 2 branches and 29 members at h = 933] | |--[dendrogram w/ 2 branches and 17 members at h = 304] | | |--[dendrogram w/ 2 branches and 10 members at h = 155] | | | |--[dendrogram w/ 2 branches and 4 members at h = 43.4] | | | | |--leaf "68" | | | | `--[dendrogram w/ 2 branches and 3 members at h = 33.5] | | | | |--leaf "161" | | | | `--[dendrogram w/ 2 branches and 2 members at h = 13.3] | | | | |--leaf "70" | | | | `--leaf "73" | | | `--[dendrogram w/ 2 branches and 6 members at h = 81.2] | | | |--[dendrogram w/ 2 branches and 2 members at h = 15.5] | | | | |--leaf "163" | | | | `--leaf "166" | | | `--[dendrogram w/ 2 branches and 4 members at h = 33.1] | | | |--leaf "160" | | | `--[dendrogram w/ 2 branches and 3 members at h = 31.2] | | | |--leaf "158" | | | `--[dendrogram w/ 2 branches and 2 members at h = 7.07] | | | |--leaf "65" | | | `--leaf "67" | | `--[dendrogram w/ 2 branches and 7 members at h = 182] | | |--[dendrogram w/ 2 branches and 3 members at h = 40.5] | | | |--leaf "157" | | | `--[dendrogram w/ 2 branches and 2 members at h = 22.1] | | | |--leaf "62" | | | `--leaf "64" | | `--[dendrogram w/ 2 branches and 4 members at h = 85.6] | | |--[dendrogram w/ 2 branches and 2 members at h = 31.1] | | | |--leaf "66" | | | `--leaf "159" | | `--[dendrogram w/ 2 branches and 2 members at h = 33.6] | | |--leaf "63" | | `--leaf "156" | `--[dendrogram w/ 2 branches and 12 members at h = 598] | |--[dendrogram w/ 2 branches and 10 members at h = 252] | | |--[dendrogram w/ 2 branches and 5 members at h = 57.3] | | | |--leaf "169" | | | `--[dendrogram w/ 2 branches and 4 members at h = 30.4] | | | |--leaf "164" | | | `--[dendrogram w/ 2 branches and 3 members at h = 19.7] | | | |--leaf "76" | | | `--[dendrogram w/ 2 branches and 2 members at h = 9.22] | | | |--leaf "71" | | | `--leaf "167" | | `--[dendrogram w/ 2 branches and 5 members at h = 104] | | |--[dendrogram w/ 2 branches and 2 members at h = 33.7] | | | |--leaf "75" | | | `--leaf "165" | | `--[dendrogram w/ 2 branches and 3 members at h = 45.5] | | |--leaf "69" | | `--[dendrogram w/ 2 branches and 2 members at h = 43.7] | | |--leaf "72" | | `--leaf "162" | `--[dendrogram w/ 2 branches and 2 members at h = 324] | |--leaf "94" | `--leaf "187" `--[dendrogram w/ 2 branches and 36 members at h = 2241] |--[dendrogram w/ 2 branches and 15 members at h = 379] | |--[dendrogram w/ 2 branches and 4 members at h = 151] | | |--[dendrogram w/ 2 branches and 2 members at h = 42.3] | | | |--leaf "81" | | | `--leaf "171" | | `--[dendrogram w/ 2 branches and 2 members at h = 51.7] | | |--leaf "78" | | `--leaf "168" | `--[dendrogram w/ 2 branches and 11 members at h = 321] | |--[dendrogram w/ 2 branches and 5 members at h = 96.4] | | |--[dendrogram w/ 2 branches and 2 members at h = 31.7] | | | |--leaf "178" | | | `--leaf "181" | | `--[dendrogram w/ 2 branches and 3 members at h = 43] | | |--leaf "85" | | `--[dendrogram w/ 2 branches and 2 members at h = 27.2] | | |--leaf "82" | | `--leaf "173" | `--[dendrogram w/ 2 branches and 6 members at h = 105] | |--[dendrogram w/ 2 branches and 2 members at h = 55.3] | | |--leaf "74" | | `--leaf "172" | `--[dendrogram w/ 2 branches and 4 members at h = 79.7] | |--leaf "77" | `--[dendrogram w/ 2 branches and 3 members at h = 64.9] | |--leaf "175" | `--[dendrogram w/ 2 branches and 2 members at h = 20.0] | |--leaf "79" | `--leaf "170" `--[dendrogram w/ 2 branches and 21 members at h = 1169] |--[dendrogram w/ 2 branches and 9 members at h = 543] | |--[dendrogram w/ 2 branches and 3 members at h = 136] | | |--leaf "186" | | `--[dendrogram w/ 2 branches and 2 members at h = 79.1] | | |--leaf "93" | | `--leaf "183" | `--[dendrogram w/ 2 branches and 6 members at h = 233] | |--[dendrogram w/ 2 branches and 3 members at h = 84.5] | | |--leaf "174" | | `--[dendrogram w/ 2 branches and 2 members at h = 40.2] | | |--leaf "84" | | `--leaf "87" | `--[dendrogram w/ 2 branches and 3 members at h = 101] | |--leaf "90" | `--[dendrogram w/ 2 branches and 2 members at h = 47.6] | |--leaf "177" | `--leaf "180" `--[dendrogram w/ 2 branches and 12 members at h = 603] |--[dendrogram w/ 2 branches and 3 members at h = 146] | |--leaf "92" | `--[dendrogram w/ 2 branches and 2 members at h = 48.8] | |--leaf "89" | `--leaf "185" `--[dendrogram w/ 2 branches and 9 members at h = 238] |--[dendrogram w/ 2 branches and 4 members at h = 73.3] | |--leaf "80" | `--[dendrogram w/ 2 branches and 3 members at h = 45.1] | |--leaf "88" | `--[dendrogram w/ 2 branches and 2 members at h = 16.4] | |--leaf "176" | `--leaf "179" `--[dendrogram w/ 2 branches and 5 members at h = 148] |--[dendrogram w/ 2 branches and 2 members at h = 30.1] | |--leaf "83" | `--leaf "86" `--[dendrogram w/ 2 branches and 3 members at h = 84.8] |--leaf "182" `--[dendrogram w/ 2 branches and 2 members at h = 58.8] |--leaf "91" `--leaf "184" > mysub <- paste('Method: ',par1) > postscript(file="/var/www/html/rcomp/tmp/1kkxv1226595704.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/2v7lz1226595704.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/36hiu1226595704.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/400np1226595704.tab") + } > > system("convert tmp/1kkxv1226595704.ps tmp/1kkxv1226595704.png") > system("convert tmp/2v7lz1226595704.ps tmp/2v7lz1226595704.png") convert: unable to open image `tmp/2v7lz1226595704.ps': No such file or directory. convert: missing an image filename `tmp/2v7lz1226595704.png'. > > > proc.time() user system elapsed 1.440 0.252 1.814