[R] Dirichlet kernel requires r to be defined, which is not in the help

2024-09-15 Thread Samuel Granjeaud IR/Inserm
Code to reproduce > kernel("dirichlet") Error in kernel("dirichlet") : argument "r" is missing, with no default The help says r    the kernel order for a Fejer kernel. Thanks to update the help. Best, Samuel __ R-help@r-project.org mailing list --

Re: [R] Should help of estimate in t.test be corrected?

2023-04-03 Thread Samuel Granjeaud IR/Inserm
:4, y=sample(5:9), paired=TRUE)$estimate mean difference -5 Cheers Petr -Original Message- From: R-help On Behalf Of Samuel Granjeaud IR/Inserm Sent: Sunday, April 2, 2023 11:39 PM To: r-help@r-project.org Subject: [R] Should help of estimate in t.test be corrected? Hi,

[R] Should help of estimate in t.test be corrected?

2023-04-03 Thread Samuel Granjeaud IR/Inserm
Hi, Not important, but IMHO the estimate component of the t.test holds an estimate of mean of each group, never a difference. The doc says "estimate    the estimated mean or difference in means depending on whether it was a one-sample test or a two-sample test." > t.test(0:4)$estimate mean o

Re: [R] Why R >= 4.1 warns about installing Rtools on Windows?

2022-09-28 Thread Samuel Granjeaud
Hi, Martin M. helped me focussing the context of my question.  The main result of my trials (various R4.x installations) after his mail is that the warning is issued when using *devtools* to install a package *from github*. When installing a package with install.packages(), no warning. The w

[R] Why R >= 4.1 warns about installing Rtools on Windows?

2022-09-27 Thread Samuel Granjeaud
Hi, I don't understand why Rtoosl seems to be required even if a package is pure R. For sure, this is just a warning, but it frightens new comers. So, why encouraging people add stuff that will be probably unneeded? Have a nice, Samuel __ R-help@r-

[R] stats:: spline's method could not be monoH.FC

2020-04-30 Thread Samuel Granjeaud IR/Inserm
Hi, I have just noticed that the argument method of the spline function of the stats package does not allow to specify monoH.FC although the documentation tells it should be possible. I know how to program a workaround. This post intends to alert the maintainers. Stay safe, Samuel [[a

Re: [R] Identify does sort the locations

2018-02-15 Thread Samuel GRANJEAUD IR/INSERM
Thanks Paul. I have started using locator(). I also found the gatepoints package that sounds interestering. https://CRAN.R-project.org/package=gatepoints Happy R, Samuel On 15-02-2018 21:50, Paul Murrell wrote: Hi Sorry, I think this has always been the behaviour (and the documentation has al

Re: [R] Identify does sort the locations

2018-02-15 Thread Samuel GRANJEAUD IR/INSERM
Hi Paul, Thanks for your answer. I am wondering if in the previous versions, let's say 2.1x, the data were in the selection order... Let me know if there a R fonction taht I can code. Do you think I should use locator function and match points on my own? Best, Samuel ___

[R] Identify does sort the locations

2018-02-15 Thread Samuel GRANJEAUD IR/INSERM
Hi, Using identify function, I think I should get the index of the selected points in the order I clicked them. This is what I read in the help. But I feel they are ordered. Please let me know what I missed. In the following example, I clicked on the points labelled 7, 5 and 1, but I get 1,