Home » date » 2008 » Nov » 13 »

dendogram2

*Unverified author*
R Software Module: rwasp_hierarchicalclustering.wasp (opens new window with default values)
Title produced by software: Hierarchical Clustering
Date of computation: Thu, 13 Nov 2008 03:10:00 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt.htm/, Retrieved Thu, 13 Nov 2008 10:11:30 +0000
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1846.5 1530.9 2225.4 1163.9 2796.3 2220.6 2713.9 1467.9 2895.6 2161.5 2923.3 1433.7 2472.2 1863.6 2707 1362.2 2584.4 1955.1 2473.9 1299 2630.4 1907.4 2521 1291.5 2663.1 1889.4 2531.8 1452.7 3176.2 2246.3 3068.8 1555.4 2856.7 2213 2826.9 1402.5 2551.4 1965 2674.2 1242.9 3088.7 2285.6 2966.6 1514.6 2628.3 1983.8 2798.8 1308.6 2226.2 1872.4 2629.6 1239.3 3023.6 2371.4 3124.6 1519.9 3077.9 2287 3115.7 1659.4 3084.1 2198.2 3083 1597.6 2990.3 2330.4 2863.9 1340.6 2949.6 2014.4 2728.7 1427.2 3014.7 2066.1 2789.4 1438.1 3517.7 2355.8 3225.7 1616.2 3121.2 2232.5 3148.2 1392.8 3067.4 2091.7 2836.5 1318.7 3174.6 2376.5 3153.5 1420.9 2676.3 1931.9 2656.9 1221 2424 2025.7 2834.7 1310 3195.1 2404.9 3172.5 1466.7 3146.6 2316.1 2998.8 1299.3 3506.7 2368.1 3103.1 1640 3528.5 2282.5 2735.6 1506.3 3365.1 2158.6 2818.1 1530.2 3153 2174.8 2874.4 1661.9 3843.3 2594.1 3438.5 1880.3 3123.2 2281.4 2949.1 1230.8 3361.1 2547.9 3306.8 1406.5 3481.9 2606.3 3530 1523.5 2970.5 2190.8 3003.8 1323.2 2537 2262.3 3206.4 1319.2 3257.6 2423.8 3514.6 1500.7 3301.3 2520.4 3522.6 1483 3391.6 2482.9 3525.5 1497 2933.6 2215.9 2996.2 1219.8 3283.2 2441.9 3231.1 1472.9 3139.7 2333.8 3030 1423.9 3486.4 2670.2 3541.7 1629.6 3202.2 2431 3113.2 1353.4 3294.4 2559.3 3390.8 1366.8 3550.3 2661.4 3424.2 1527.1 3279.3 2404.6 3079.8 1487.6 2678.6 2378.3 3123.4 1478.6 3451.4 2489.2 3317.1 1536.7 3977.1 2959 3611.6 1682.1 3814.8 2713.5 3341.1 1576.5 3310.5 2341.3 2684.9 1280.5 3971.8 2833.2 3747.8 1756.5 4051.9 2849.7 3677.8 1698.8 4057.6 2871.7 3787.8 1709.3 4391.4 3058.3 4171.2 1741 3628.9 2855.1 3774 1493 4092.2 3083.6 4053.7 1577.5 3822.5 2828.3 4000.9 1609.3
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Summary of Dendrogram
LabelHeight
160.7079072279716
281.6452693056981
394.4139290571048
498.816749592364
5103.509419861189
6112.568778975344
7112.875772422606
8113.042027582665
9114.938853309053
10119.110591328309
11120.132676653773
12124.489196318395
13125.974164017865
14131.035453217822
15132.191225124817
16133.277622419026
17136.857828605059
18141.778443778745
19156.570367566791
20162.699689515062
21184.408818180781
22184.865851210601
23198.195865184544
24205.060598281125
25212.405588989292
26216.251919565285
27217.060677092381
28218.247061835893
29222.324605026075
30223.614874717416
31241.515449192728
32243.015875564718
33256.522747529337
34306.629589649213
35316.363544778956
36317.601502413238
37321.260797483913
38341.833014789385
39361.52348471434
40368.941455959642
41382.816684657272
42426.154810732356
43449.080113042925
44481.076693248871
45613.203209458876
46620.656691647729
47751.086741999513
48779.539280382058
49834.860499381507
50916.405313437702
511011.78763229961
521167.87294568267
531286.68446586160
541305.8631807257
551451.03580794201
562643.92770683996
574416.22745262789
587696.8443754616
5916999.7672280781
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt/1tnfk1226570997.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt/1tnfk1226570997.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt/21lqt1226570997.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/13/t1226571087te72604yg4vdztt/21lqt1226570997.ps (open in new window)


 
Parameters (Session):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
 
Parameters (R input):
par1 = ward ; par2 = ALL ; par3 = FALSE ; par4 = FALSE ;
 
R code (references can be found in the software module):
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)
mysub <- paste('Method: ',par1)
bitmap(file='test1.png')
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()
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)
bitmap(file='test2.png')
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)
}
load(file='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='mytable1.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='mytable2.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by