Re: [R] Dissimilarity matrix and number clusters determination

2016-04-12 Thread Luisfo Chiroque via R-help
Dear Michael, Yes, AFAIK you are correctly reading the results. You can print elbow.obj$k to obtain the optimal number of clusters, and ‘visually’ you can check it plotting the variance vs #clusters plot(css.obj$k, css.obj$ev) HTH Best, Luisfo Chiroque PhD Student IMDEA Networks Institute http:

Re: [R] using apply to a data frame

2016-04-07 Thread Luisfo Chiroque via R-help
Dear John, Try using sapply(data5NonEventEpochs, fract) HTH Best, Luisfo Chiroque PhD Student IMDEA Networks Institute http://fourier.networks.imdea.org/people/~luis_nunez/ > El 7 abr 2016, a las 23:25, John Sorkin > escribió: >

Re: [R] question about probplot in e1071 package

2016-04-04 Thread Luisfo Chiroque via R-help
Dear Thomas, Reading the probplot’s help page, it looks like it is using qqplot underneath. Thus, I think this is what you need. probplot(x, line=FALSE) #probplot(y, line=FALSE) qq.y <- qqnorm(y, plot=F) points(qq.y$y, qq.y$x) I hope this is useful for you. Best R