[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-29 Thread Laurent Rhelp
Dear R-Help-list,    I want to display many sensors on the same page so I have to adapt the size of the y-axis labels and I woul like to adapt the number of ticks according to the sensor. I use the yscale.components argument with the function yscale.components.subticks: see the code below.

Re: [R] data.frame with a column containing an array

2023-05-29 Thread Georg Kindermann
Maybe a better solution instead of "don't do it!" might be to change: x[[j]] <- if(length(dim(xj)) != 2L) xj[i] else xj[i, , drop = FALSE] at: https://github.com/wch/r-source/blob/trunk/src/library/base/R/dataframe.R#L712 to: x[[j]] <- if(length(dim(xj)) < 2L) xj[i] else

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

2023-05-29 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") That's it. Thanks. sg HTH, Eric On Mon,

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

2023-05-29 Thread Manuel Mendoza
Gracias Carlos e Isidro, finalmente utilicé el propio XgBoost para seleccionar las variables con las que hacer el RF. Había 47, de las casi 55.000, que mostraban una ganancia superior que el resto, así que hice el RF con esas sin problema. La idea original era aplicar RF para seleccionar las

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

2023-05-29 Thread Eric Berger
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") HTH, Eric On Mon, May 29, 2023 at 7:57 AM Spencer Graves wrote: > > Hello, All: > > >