[Rd] get number of clusters

2008-03-15 Thread Stefan Tomzeck
hello, i've a set of integers, e.g. x={1,2,3,2,3,100,101,104} I want to compute now the numbers of the clusters via gap statistic. I 've seen the commend gap. How can i use it? it doesn'work. I've loaded the the package gap and SAGx. But R does'nt recognize the command gap. Is it actually the

[Rd] Experimental R_has_slot() utility

2008-03-15 Thread Laurent Gautier
Dear list, The utility R_has_slot mentioned in the file NEWS (Experimental R_has_slot() utility supplementing R_do_slot()) appears to be missing from a fresh checkout of the development branch. $ svn up At revision 44759. $ grep -i has_slot `find include -name '*.h'` $ grep -i _slot `find

Re: [Rd] [patch] add=TRUE in plot.default()

2008-03-15 Thread Christos Hatzis
Andrew, Here's is a way how your example could be coded with the current implementation of plot. You can always start with an empty plot and then add lines or points (or both) using the corresponding functions. x - seq(-2, 2, 0.1) plot(x, x, type=n) mapply(function(f, i) lines(x, f(x),