Displaying 8 results from an estimated 8 matches for "leaflabs".
2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
Core developers,
I couldn't find any simple way to send a vector of colors to apply to each
terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it a
few weeks ago and didn't get any response---so I hacked that functionality
into the plot.dendrgram code (see below for hacked function plus
examples)....
Is there any chance this functionality could be added to the
2010 Nov 15
1
plot.dendrogram() plot margins
Hello,
Is it possible to remove those extra margins on the "sample" axis from
plot.dendrogram:
par(oma=c(0,0,0,0),mar=c(0,0,0,0))
ddr<-as.dendrogram(hclust(dist(matrix(sample(1:1000,200),nrow=100))))
stats:::plot.dendrogram(ddr,horiz=F,axes=F,yaxs="i",leaflab="none")
vs.
stats:::plot.dendrogram(ddr,horiz=T,axes=F,yaxs="i",leaflab="none")
2015 Mar 30
2
[LLVMdev] Color diagnostics
...t it should be an optional dependency. If the target system
has tinfo or ncurses, it should use it, otherwise fallback to no color.
On Mon, Mar 30, 2015 at 6:02 PM, Hans Wennborg <hans at chromium.org> wrote:
> Hi Perry,
>
> On Mon, Mar 30, 2015 at 11:16 AM, Perry Hung <perry at leaflabs.com> wrote:
> > I'm using the official 3.6 release binaries for x64 Linux. When compiling
> > with warnings, I don't see any color diagnostics. Explicitly enabling
> > -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any
> idea
> > why?
>
&...
2015 Mar 30
4
[LLVMdev] Color diagnostics
Hi,
I'm using the official 3.6 release binaries for x64 Linux. When compiling
with warnings, I don't see any color diagnostics. Explicitly enabling
-fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any idea
why?
For what it's worth, I tried compiling LLVM/clang from trunk and color
diagnostics work fine by default.
Upon further investigation, I saw that the official
2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi,
hres <- hclust(smatr,method="single")
hresd<-as.dendrogram(hres)
as.dendrogram(hres)
`dendrogram' with 2 branches and 380 members total, at height 2514.513
plot(hresd,leaflab="none") #<-error here.
#the plotted dendrogram is incomplete. The x axis is not drawn.
#The interested reader can download the
save(hresd,file="hres.rda")
#from the
2015 Mar 30
3
[LLVMdev] Color diagnostics
...who released the compiler
>
> I'm really not sure what the right answer is here, though I don't know
> that much about releasing software & dependencies (whether they can be made
> dynamically optional, etc)
>
> On Mon, Mar 30, 2015 at 11:16 AM, Perry Hung <perry at leaflabs.com> wrote:
>
>> Hi,
>>
>> I'm using the official 3.6 release binaries for x64 Linux. When compiling
>> with warnings, I don't see any color diagnostics. Explicitly enabling
>> -fcolor-diagnostics works fine. I have TERM set to xterm-256color. Any idea
&g...
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
2011 Sep 26
0
horizontal labels for a dendrogram
Dear R-help list,
I'd like to create visualize the clustering of a dataset with a
dendrogram. I'm using the following script:
data = read.table("data.csv", header=T, sep=";")
require(cluster)
res = as.dendrogram(agnes(data))
chlab <- function(n) {
if(is.leaf(n)) {
att <- attributes(n)
labx <- data$category1[att$label]
lab_color <- ifelse(labx ==