Re: [R] kendall tau distance

2015-09-12 Thread Ragia Ibrahim
many thanks for replying.  I have the vectors  running the code ConDisPairs( data.frame(c(1,2,3,4,5),c(3,4,1,2,5)) )  $pi.c      [,1] [,2] [1,]   12    0 [2,]    8    1 [3,]    7    3 [4,]    5    6 [5,]    0   10 $pi.d      [,1] [,2] [1,]    0   14 [2,]    3   12 [3,]    7    9 [4,]    8    5 [

Re: [R] Wavelets Forecast/Prediction

2015-09-12 Thread Bert Gunter
(internet) search! e.g. on "R package wavelets" There are several. See also the time series task view on CRAN. -- Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Fri, Sep 11, 2015 at 10:58 PM, Diego U

Re: [R] Adding a second Y axis on a dotplot

2015-09-12 Thread Duncan Mackay
Hi see https://stat.ethz.ch/pipermail/r-help/2007-June/134524.html to get you started. Its toolate or too early here Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message-

[R] help

2015-09-12 Thread Ghada Almousa
hi In cluster analysis K-means , hirarical cluster ,DBSCAN and EM how do we calculate purity [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] removing outlier

2015-09-12 Thread Juli
Hi Jim, thank you for your help. :) My point is, that there are outlier and I don´t really know how to deal with that. I need the dataframe for a regression and read often that only a few outlier can change your results very much. In addition, regression diacnostics didn´t indcate me the best

Re: [R] Installation R package Rssa from directory

2015-09-12 Thread tonina
Many thanks, Jeff! I install package with install.packages('d:\\Rssa\\Rssa_0.13.zip', repos=NULL) -- View this message in context: http://r.789695.n4.nabble.com/Installation-R-package-Rssa-from-directory-tp4712160p4712174.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] removing outlier

2015-09-12 Thread David Winsemius
On Sep 12, 2015, at 2:32 AM, Juli wrote: > Hi Jim, > > thank you for your help. :) > > My point is, that there are outlier and I don´t really know how to deal with > that. > > I need the dataframe for a regression and read often that only a few outlier > can change your results very much. In

Re: [R] maximum-likelihood-estimation with mle()

2015-09-12 Thread Ben Bolker
peter dalgaard gmail.com> writes: > > You are being over-optimistic with your starting values, and/or > with constrains on the parameter space. > Your fit is diverging in sigma for some reason known > only to nonlinear-optimizer gurus... > > For me, it works either to put in an explicit > c

Re: [R] Adding a second Y axis on a dotplot

2015-09-12 Thread Duncan Mackay
I forgot to put a line about latticeExtra's doubleYScale library(latticeExtra) ? doubleYScale Duncan -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan Mackay Sent: Sunday, 13 September 2015 00:56 To: R Subject: Re: [R] Adding a second Y axis on a d

Re: [R] For logical i and length(i) > length(x), x[i] <- value makes length(x) == length(i)

2015-09-12 Thread Suharto Anggono Suharto Anggono via R-help
I'll make my points clearer. - The case of logical index vector longer than the original vector is not usual case for me. As I said, I encountered it in the code of function 'rank' in R. - Before, I have read "S-PLUS help" (version 3.4, it seems), http://www.uni-muenster.de/ZIV.BennoSueselbeck/

[R] R CRAN check works great on local Mac OS, but failed on Windows (win-builder web). Why?

2015-09-12 Thread yazeng
I have my R package checked on local Mac OS via R CMD check --as-cran. Everything works great: no errors, no warnings, just 1 note about first submission, all test files passed! However, when I submit my .tar.gz package file to the http://win-builder.r-project.org to check on Windows. Some errors o

Re: [R] For logical i and length(i) > length(x), x[i] <- value makes length(x) == length(i)

2015-09-12 Thread William Dunlap
Splus 8.2.0 (c. 2010) and Splus6.0 (c. 2001) act like R in this respect. x <- c(10.0, 11.0, 12.0) i <- c(FALSE,TRUE,FALSE,FALSE,TRUE) x[i] #[1] 11 NA x[i] <- 1:2 x #[1] 10 1 12 NA 2 I no longer have access to a running version of Splus 3.4, but it does not look like a feature we wou