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
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
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),