Re: [R] How to draw chemical structures with R?

2022-12-05 Thread Luigi Marongiu
Thanks, I will. On Tue, Dec 6, 2022 at 7:21 AM Jeff Newmiller wrote: > > I have never seen this package mentioned on this list. You should contact the > package maintainer. > > On December 5, 2022 9:59:34 PM PST, Luigi Marongiu > wrote: > >Thanks for the tip! I think the problem is all

Re: [R] How to draw chemical structures with R?

2022-12-05 Thread Jeff Newmiller
I have never seen this package mentioned on this list. You should contact the package maintainer. On December 5, 2022 9:59:34 PM PST, Luigi Marongiu wrote: >Thanks for the tip! I think the problem is all Java-based, the SMILES >structure comes from the example in the template, it should work.

Re: [R] How to draw chemical structures with R?

2022-12-05 Thread Luigi Marongiu
Thanks for the tip! I think the problem is all Java-based, the SMILES structure comes from the example in the template, it should work. There is something missing in the execution... On Tue, Dec 6, 2022 at 3:12 AM LMH wrote: > > Just my opinion, but I think you would be better off to draw the

Re: [R-es] eliminar outliers en un tapply

2022-12-05 Thread Manuel Mendoza
Gracias Jose Luis, le echaré también un vistazo a tu alternativa, que parece muy sencilla. Un saludo, Manuel El lun, 5 dic 2022 a las 14:34, jose luis () escribió: > Hola > Otra posibilidad: > > performance::checkoutliers(Data[,c("varnum", "varcat")]) > En sábado, 3 de diciembre de 2022,

Re: [R] How to draw chemical structures with R?

2022-12-05 Thread LMH
Just my opinion, but I think you would be better off to draw the structures using a drawing program like MarvinSketch (free, java based) and save the structure as a SMILES file, MOL file, or SDF. You should be able to import any of those into R. A program like MarvinSketch will check the

Re: [R] query in loops

2022-12-05 Thread jim holtman
So what is the problem that you would like help in correcting? The program seems to run. Thanks Jim Holtman *Data Munger Guru* *What is the problem that you are trying to solve?Tell me what you want to do, not how you want to do it.* On Mon, Dec 5, 2022 at 12:59 PM ASHLIN VARKEY wrote: >

[R] How to draw chemical structures with R?

2022-12-05 Thread Luigi Marongiu
Hello,' I have seen from this link https://cran.r-project.org/web/packages/rcdk/vignettes/using-rcdk.html that there is a way to draw chemical structures using R via rcdk package. I tried to draw a simple structure but I got an error. What is it missing? What is the correct syntax? Thanks ```

[R] query in loops

2022-12-05 Thread ASHLIN VARKEY
Sir, I want to write a loop in R to find the AIC factor. For its calculation, I need to run an algorithm in the attached file. Here 'x' represents the dataset and xi denotes the i-th observation after arranging it in ascending order. Q(u) and q(u) represent the quantile function and quantile

Re: [R] confusion about dev.prev()

2022-12-05 Thread Peter Langfelder
Ah, thanks, got it. Misread the help again... Peter On Mon, Dec 5, 2022 at 9:38 PM Ivan Krylov wrote: > > В Mon, 5 Dec 2022 21:28:16 +0800 > Peter Langfelder пишет: > > > Open two devices, plot a plot, call dev.prev() and plot again. I > > would expect the second plot to appear in the first

Re: [R] confusion about dev.prev()

2022-12-05 Thread Ivan Krylov
В Mon, 5 Dec 2022 21:28:16 +0800 Peter Langfelder пишет: > Open two devices, plot a plot, call dev.prev() and plot again. I > would expect the second plot to appear in the first device, but that > is not what happens; both plots appear in the second device. Unfortunately, dev.prev() and

Re: [R-es] eliminar outliers en un tapply

2022-12-05 Thread jose luis via R-help-es
Hola Otra posibilidad: performance::checkoutliers(Data[,c("varnum", "varcat")]) En sábado, 3 de diciembre de 2022, 09:15:28 CET, Manuel Mendoza escribió: Buenos días, utilizo: max <- tapply (Data$varnum, Data$varcat, max) para obtener el máximo de varnum en cada una de las categorías

[R] confusion about dev.prev()

2022-12-05 Thread Peter Langfelder
Hi all, I'm either confused about dev.prev() or there's a bug in it. Open two devices, plot a plot, call dev.prev() and plot again. I would expect the second plot to appear in the first device, but that is not what happens; both plots appear in the second device. Is this expected behavior or a

Re: [R-es] eliminar outliers en un tapply

2022-12-05 Thread Manuel Mendoza
Gracias Francisco, Carlos me ayudó a resolver el problema, pero revisaré también el tuyo, pues parece interesante. Un saludo El lun, 5 dic 2022 a las 12:09, Francisco Rodriguez Sanchez (< f.rodriguez.s...@gmail.com>) escribió: > Buenos días Manuel > > Pues le he pedido a ChatGPT

Re: [R-es] eliminar outliers en un tapply

2022-12-05 Thread Francisco Rodriguez Sanchez
Buenos días Manuel Pues le he pedido a ChatGPT (https://openai.com/blog/chatgpt/) exactamente esto "Write R code to remove outliers from a numeric vector stratified by levels of a factor" y me ha devuelto literalmente esta solución que pego abajo (que a mí sinceramente no se me habría