Displaying 20 results from an estimated 400 matches similar to: "indexing into and modifying dendrograms"
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
I am trying to learn how to format Ascii data files for scan or read
into R.
Precisely for a quickie project, I found some code (at end of this
email) to do exactly what I need:
To cluster and graph a dendrogram from package (stats).
I am stuck on how to format a text file to run the script.
I looked at the dataset USArrests (which would be replaced by my data
and labels) using UltraEdit. That
2007 Oct 26
2
cut.dendrogram and cutree
Hi!
In the example:
hc <- hclust(dist(USArrests), "ave")
dend1 <- as.dendrogram(hc)
dend2 <- cut(dend1, h=70)
Do the branches "Branch 1", "Branch 2", "Branch 2"...in dend2$upper
str(dend2$upper)
--[dendrogram w/ 2 branches and 4 members at h = 152]
|--[dendrogram w/ 2 branches and 2 members at h = 77.6]
| |--leaf "Branch 1" (h=
2011 Jan 25
1
dendrogram plot does not draw long labels ?
Hello,
It seems that the plot function for dendrograms does not draw labels when
they are too long.
> hc <- hclust(dist(USArrests), "ave")
> dend1 <- as.dendrogram(hc)
> dend2 <- cut(dend1, h=70)
> dd <- dend2$lower[[1]]
> plot(dd) # first label is drawn
> attr(dd[[1]], "label") <- "aaaaaaaaaaaaaaaaaa"
> plot(dd) # first label is
2002 Mar 05
1
no labels when plotting dendrograms
I'd like to be able to cut dendrograms at a height I specify
and then plot the resulting subtrees. I wanted to use the
dendrogram object for this purpose because there doesn't seem
to be a canned way to cut a hclust object and get a list of
hclust objects, but there is a function (cut) that does that
for dendrograms. The problem I'm having is that when I plot
a dendrogram, I
2013 May 01
1
help understanding hierarchical clustering
Hi All,
i've problem to understand how to work with R to generate a hierarchical clustering
my data are in a csv and looks like :
idcode,count,temp,sal,depth_m,subs
16001,136,4.308,32.828,63.46,47
16001,109,4.31,32.829,63.09,49
16001,107,4.302,32.822,62.54,47
16001,87,4.318,32.834,62.54,48
16002,82,4.312,32.832,63.28,49
16002,77,4.325,32.828,65.65,46
16002,77,4.302,32.821,62.36,47
2011 Dec 12
1
how to colour labels (each label with a colour) in a dendrogram?
Hello to all,
I still have this doubt.
I'd like to colour the different labels of my dendrogram each one with a
different colour. How can I do? I guess I could do using *edgetext* and
then *t.col* or* lab.col* but I don't know how to add edgetext to my
dendrogram. Can you help me please?
Example:
require(graphics); require(utils)
hc <- hclust(dist(USArrests), "ave")
(dend1
2011 Dec 09
1
how to add an edgetext to a dendrogram?
Hello to all,
I'd like to colour the different labels of my dendrogram. How can I do? I
guess I could to using *edgetext* and then* t.col* or *lab.col* but I don't
know how to add edgetext to my dendrogram. Can you help me please?
Example:
require(graphics); require(utils)
hc <- hclust(dist(USArrests), "ave")
plot(dend1)
labels (USArrests) [[1]] # to know how many cities
2005 Dec 16
2
dendrogram branches with different lty
Dear r-list,
I am trying to visually seperate the two main clusters of a dendrogram.
The idea is to use:
'edgePar=list(lty=3)' for 'dend1[[1]]' and
'edgePar=list(lty=1)' for 'dend1[[2]]'
I have not found a way to solve this. Any suggestions?
Patrick
hc <- hclust(dist(USArrests), "ave")
(dend1 <- as.dendrogram(hc))
par(mfrow=c(2,2))
plot(dend1)
2012 May 24
4
Manually modifying an hclust dendrogram to remove singletons
Dear R-Help,
I have a clustering problem with hclust that I hope someone can help
me with. Consider the classic hclust example:
hc <- hclust(dist(USArrests), "ave")
plot(hc)
I would like to cut the tree up in such a way so as to avoid small
clusters, so that we get a minimum number of items in each cluster,
and therefore avoid singletons. e.g. in this example, you can see
2008 Jun 02
1
Plotting horizontal dendrograms
I am using hclust and plot to produce dendrograms. Using my input data I am
able to complete an analysis and obtain a vertical plot.
I want to be able to plot the dendrogram horizontally.I am using version 2.6
of R and have updated my packages recently.
Using the sample script for dendrograms I can produce a horizontal plot
using the instruction horiz = TRUE in plot().
When I use the same
2008 Feb 28
1
Plotting Dendrogram Help Getting Plot to Display Neatly
I have done a cluster analysis doing:
1-clusNorth <-hclust(dist(Artorious)^2, method="ward")
2-clusNorth$labels <-Artorious$Name ## to show the case names and not
numbers
3-dend1 <- as.dendrogram(clusNorth)
4-plot(dend1)
My Dendrogram is now showing the names of my cases in the dataframe on
the x axis
1 OMNICELL INC COM
2 GETTY IMAGES INC
2012 Apr 30
2
Generate Dendrogram
Hi
I have a distance matrix which is computed by user defined method. I
would like to plot the dendrogram. I would like to use different color
and want the leaves laying down bottom.
The script like this. I am not familiar with R. I followed the example
shown in
http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dendrogram.html
dist.obj <- as.dist(matrix.distance)
hc.obj <-
2005 Apr 20
1
IPC$ entries not deleted from connections.tdb?
Back to this problem
Here a proof of it:
1. smbd version 3.0.11 started
yaberge2@sda6 ==> p smbd
root 13820 20662 0 08:05:39 - 0:00 /usr/local/samba/sbin/smbd -D
-s/usr/local/samba/lib/smb.conf
root 20662 1 0 08:05:39 - 0:00 /usr/local/samba/sbin/smbd -D
-s/usr/local/samba/lib/smb.conf
yaberge2@sda6 ==> /usr/local/samba/bin/smbstatus
Samba version 3.0.11
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
Dear all,
I have made patch for samba-2.0.7/source/smbd/conn.c
This will, instead of using by-directional link, use
array for managing connections.
# The patch does seems to work on my RHL6.1Ja(fixed) version of
# Linux machine. I don't know about other OS/Architecture.
This should work better then original because:
1) The original code used bitmap.c for looking empty area.
But using
2004 May 19
7
Help with hclust() and plot()
Hi
When I use plot(hclust(dist..)...)...) etc to create a dendrogram of a
hierarchial cluster analysis, I end up with a vertical tree. What do I
need to do to get a horizontal tree?
Also, my users are used to seeing trees who's leaves all "end" at the
same place (eg. Like in minitab). Is this possible in R?
Thanks
Mick
Michael Watson
Head of Informatics
Institute for Animal
2012 Oct 24
0
recursive function on a structured list of lists (dendrogram)
Dear all,
I have been trying the following without avail and would be very grateful for any help. From a dendrogram (recursive list of lists with some structure), I would like to obtain some information of the component lists and of the enclosing list at the same time. In dendrogram-speech I basically would like the label of the leaf and the height of the enclosing branch.
A dendrogram example
2009 Apr 17
1
[Announce] Samba 3.2.11 Maintenance Release Available
================================================================
"You can''t have everything.
Where would you put it?
Steven Wright
================================================================
Release Announcements
=====================
This is a maintenance release of the Samba 3.2 series.
Major enhancements in 3.2.11 include:
o Fix domain logins for WinXP
2009 Apr 17
1
[Announce] Samba 3.2.11 Maintenance Release Available
================================================================
"You can''t have everything.
Where would you put it?
Steven Wright
================================================================
Release Announcements
=====================
This is a maintenance release of the Samba 3.2 series.
Major enhancements in 3.2.11 include:
o Fix domain logins for WinXP
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
1998 Oct 08
0
readbraw vs. readX
Using Samba 1.9.18p10 I have found a difference between Win95 and WinNT:
opening 'Lotus Freelance' files from Win95 is really slow (about 17 kB/s
only) vs fast (~hundreds of kB/s) from WinNT.
Looking into the log (with debug level=4) I see using Win95:
switch message SMBopenX (pid 33994)
Skipping become_user - already user
unix_clean_name [./PRIVATE/Goyal_Sep98.PRZ]
Got dir cache hit on