Re: [R-es] Error: protect(): protection stack overflow

2023-05-30 Thread Javier Marcuzzi
Estimado Manuel Mendoza Puede ser que a usted no le sea de utilidad, pero cuándo nombran genes y evalúan, yo siempre de acuerdo del libro Introducción a la Genética Cuantitativa, de Falconer. Digo esto porque la expresión que usted nombra puede ser por deriva genética y no por un efecto real

Re: [R] lattice xyplot: how to change the y-axis labels size using yscale.components.subticks on the right side and how to adapt the ticks number

2023-05-30 Thread Deepayan Sarkar
Thanks for the reproducible example. Could you explain what you want in a bit more detail? Does the following do more or less what you want, except that the labels are on the left instead of right? gr <- xyplot(value ~ tindexTOP | sensor , data = df_rhelp , ylab = " "

[R-es] Trabajar con variables JSON

2023-05-30 Thread Jose Miguel Contreras
Hola a todos Tengo una variable ‘medios', sacada de un JSON con la siguiente forma: {'A': 2406, 'A1': 'Casa', 'media': [{'id': 1021, 'id_type': 7, 'type': None, 'url': 'https://www.aaa1.com', 'from_date': 12}, {'id': 1036, 'id_type': 3, 'type': None, 'url': 'https://bbb1.com', 'from_date':

Re: [R-es] Error: protect(): protection stack overflow

2023-05-30 Thread Juan Abasolo
Qué lindo participar desde la ventana de tu descubrimiento. Te deseo que tengás un buen camino llevándolo adelante, por el bien de tantos. Hau idatzi du Manuel Mendoza (mmend...@fulbrightmail.org) erabiltzaileak (2023 mai. 29(a), al. (11:19)): > Gracias Carlos e Isidro, finalmente utilicé el

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Eric Berger
What if you just precede these commands as follows: par(mfrow=c(3,1)) plot(DAX.[, 1], log='y', ylab='DAX') plot(DAX.[, 2], ylab='vel (%)') plot(DAX.[, 3], ylab='accel (%)') On Tue, May 30, 2023 at 5:45 PM Spencer Graves wrote: > > > > On 5/30/23 8:48 AM, Eric Berger wrote: > > I am a bit

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Spencer Graves
On 5/30/23 8:48 AM, Eric Berger wrote: I am a bit confused as to what you are trying to achieve - and even if I could guess it is not clear what the interpretation would be. head(DAX) 1628.75 1613.63 1606.51 1621.04 1618.16 1610.61 Including the leading NA's, what would be the 6 leading

Re: [R] helps in closing a shiny session

2023-05-30 Thread Bert Gunter
Shiny is a product created and supported by Posit.co, formerly known as Rstudio. They have their own support forum here , which is likely a better place to post such queries. Cheers, Bert On Tue, May 30, 2023 at 6:58 AM Cleber Borges via R-help <

[R] helps in closing a shiny session

2023-05-30 Thread Cleber Borges via R-help
Hello everybody I tried closing a shiny session with the call: session$close() and then I found that it didn't do what I thought it would. The result of calling: session$isClosed() is still FALSE. Does anyone have any tips on how to close the shiny session using a button? Thanks in advance

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Eric Berger
I am a bit confused as to what you are trying to achieve - and even if I could guess it is not clear what the interpretation would be. > head(DAX) 1628.75 1613.63 1606.51 1621.04 1618.16 1610.61 Including the leading NA's, what would be the 6 leading terms of the 3 series that you want to plot,

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Spencer Graves
On 5/30/23 6:16 AM, Eric Berger wrote: My code assumes that DAX is a ts object, as in your original post. On Tue, May 30, 2023 at 2:06 PM Eric Berger wrote: Untested but why not a <- cbind(log(DAX), exp(diff(log(DAX))), exp(diff(diff(log(DAX) colnames(a) <- c("logDAX", "vel",

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Eric Berger
My code assumes that DAX is a ts object, as in your original post. On Tue, May 30, 2023 at 2:06 PM Eric Berger wrote: > > Untested but why not > > a <- cbind(log(DAX), exp(diff(log(DAX))), exp(diff(diff(log(DAX) > colnames(a) <- c("logDAX", "vel", "accel") > plot(a) > > > On Tue, May 30,

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Eric Berger
Untested but why not a <- cbind(log(DAX), exp(diff(log(DAX))), exp(diff(diff(log(DAX) colnames(a) <- c("logDAX", "vel", "accel") plot(a) On Tue, May 30, 2023 at 1:46 PM Spencer Graves wrote: > > > > On 5/29/23 2:37 AM, Eric Berger wrote: > > How about this: > > > > a <-

Re: [R] plot level, velocity, acceleration with one x axis

2023-05-30 Thread Spencer Graves
On 5/29/23 2:37 AM, Eric Berger wrote: How about this: a <- cbind(AirPassengers, diff(log(AirPassengers)), diff(diff(log(AirPassengers colnames(a)[2:3] <- c("percent increase", "acceleration") plot(a, xlab="year", main="AirPassengers") My real problem is more difficult: I'm