[R] which() vs. just logical selection in df

2020-10-10 Thread 1/k^c
Hi R-helpers, Does anyone know why adding which() makes the select call more efficient than just using logical selection in a dataframe? Doesn't which() technically add another conversion/function call on top of the logical selection? Here is a reproducible example with a slight difference in

Re: [R] [External] Re: unable to access index for repository...

2020-10-10 Thread Arne Henningsen
On Fri, 9 Oct 2020 at 12:28, Martin Maechler wrote: > > > Steven Yen > > on Fri, 9 Oct 2020 05:39:48 +0800 writes: > > > Oh Hi Arne, You may recall we visited with this before. I > > do not believe the problem is algorithm specific. The > > algorithms I use the most often

[R] Please need help to finalize my code

2020-10-10 Thread Ablaye Ngalaba
Good evening dear administrators, It is with pleasure that I am writing to you to ask for help to finalize my R programming algorithm. Indeed, I attach this note to my code which deals with a case of independence test statistic . My request is to introduce the kernels using the functional data

Re: [R] Question about the package "MatchIt"

2020-10-10 Thread Ehsan Karim
Maria: What you are looking for (propensity score matching on survey data) is discussed in lab 5 components of this series using matchit and matching package: https://www.youtube.com/playlist?list=PL2yD6frXhFob_Mvfg21Y01t_yu1aC9NnP Regards, Ehsan https://ehsank.com/ On Fri., Oct. 9, 2020,

Re: [R] Question about the package "MatchIt"

2020-10-10 Thread Patrick (Malone Quantitative)
Maria Cristina, The MatchIt homepage at https://gking.harvard.edu/matchit has a link to a mailing list specific to the package and it has searchable archives. You will probably have better luck there than a general R programming list. Though a quick perusal of the user guide at that site makes me

Re: [R] highfrequency package-jump test

2020-10-10 Thread Rui Barradas
Hello, The error is not reproducible, the second code line gives: data<-xts(x=data$PRICE,order.by=tm) #Error in data$PRICE : object of type 'closure' is not subsettable Please post a data example in dput format. dput(head(data, 30))# post the output of this or similar Hope this helps,

Re: [R] highfrequency package-jump test

2020-10-10 Thread Eric Berger
Hi, I tried running your code but it is not complete. When you create the xts you refer to data$PRICE but this has never been defined. I generated synthetic data and used that to create the xts object as follows: x <- runif( length(tm), min=90, max=110 ) data<-xts(x=x,order.by=tm) When I used

[R] [Rd] R 4.0.3 is released

2020-10-10 Thread Peter Dalgaard
The build system rolled up R-4.0.3.tar.gz (codename "Bunny-Wunnies Freak Out") this morning. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.0.3.tar.gz or wait for it to be mirrored at a CRAN site nearer to you.

Re: [R] Aide pour finaliser ce code

2020-10-10 Thread Jeremie Juste
Hello Ablaye, I didn't find any function xi ,yi. This is an english mailing list. You will maximize your chance of getting help by sticking to english. I would also recommend that you comment your code in English, it will be easier to share. But on this one it is your call. PLEASE do read the

Re: [R] Question about the package "MatchIt"

2020-10-10 Thread Jeremie Juste
Hello Maria Cristina, On Friday, 9 Oct 2020 at 19:39, Maria Cristina Maurizio wrote: > Hi! I'm trying to perform propensity score matching on survey data and so > for each individual observation I have a statistical weight attached. My > question is: is there a way within the package to consider