similar to: problems to report indexes when I have two min value

Displaying 20 results from an estimated 900 matches similar to: "problems to report indexes when I have two min value"

2009 May 29
3
How to replace Inf by zero?
Hi R users, Someone knows how to replace Infinite value by zero. I have a vector with some Inf value and I want to substitute these values by zero to get the mean of the components of the vector. Any idea? Many thanks, Marlene. [[alternative HTML version deleted]]
2010 Feb 01
2
programing problem with for( )
Hi R-users I'm writing a code to run a fuction but I found an error that I can't fix. I reproduced the error with a simple example. The correct answer is k but I can't fill my s matrix. What I'm doing wrong? s<-matrix(data=NA,nrow=1,ncol=5 ) s for(i in 1:5) { k=sqrt(i) s[,i]<-k[i] print(k) } s Thanks in advance, Marlene. [[alternative
2010 Jul 19
1
hola
Hola amor! Finalmente llegué a D.C. Ya estoy en el albergue pero el cuarto solo va a ser liberado a la una o tal vez dos de la tarde. Pero no importa al menos ya estoy aqui, ya tomé desayuno que por cierto es horrible. Voy a poder tomar baño y usar un locker por un dolar. Entonces voy a tomar baño guardar mis cosas y salir ya que aqui no hago nada. Cómo fue tu domingo? Cómo está Esteban? El
2009 Sep 30
3
programming to calculate variance
Dear R-user Suppose I have the following data y=c(2,1,5,8,11,3,1,7,50,21,33,7,60) x=data.frame(y) for(i in 4:nrow(x)) x[i,] =var(x[i-3:i-1,]) I'm trying to get a new variable with the variance of the 3 previous values (just an example) and with NA in the three first positions. I know that my for() is wrong but I'm not able to find my error. Any idea? Thanks, Marlene.
2012 Feb 07
1
Nuevo paquete SCperf en CRAN
Queridos miembros de la lista, Me gustaría anunciar que el paquete ''SCperf " ya está disponible en CRAN. El paquete implementa diferentes modelos de inventario, el efecto látigo y otras variables de desempeño de la cadena de suministro. Esta es la primera versión del paquete y también es mi primer paquete para R. Sugerencias, informes de errores y otros comentarios son
2009 Aug 03
1
How to get w and b in SVR? (package e1071)
Dear R users, I'm running a SVR in package e1071 but I did not able to calculate the parameters w and b of the regression. I don't know how to do that and if it is possible to do it with this package. Someone have some idea. Any help would be much appreciated. Marlene [[alternative HTML version deleted]]
2010 Jul 09
2
split with list
Dear List I would like to ask you something concenting a better print of the R output: I have a bit data frame which has the following structure: CFISCALE RAGSOCB ANNO VAR1 VAR2......... 9853312 astra 2005 6 45 9853312 astra 2006 78 45
2010 Jul 22
1
pagebreak in xtable and columns'width
Dear list, I'm using the Sweave function in order to get some report. Here one chunk: <<echo=F,results=tex>>= report<-lapply(repor, function(x) { (print(xtable(data.frame(x[1:2,]), align="|l|rrr|"),floating=FALSE,tabular. environment="longtable",include.colnames=FALSE,size="\\small"))
2016 Jun 15
5
Hadoop
Hola buenas, me preguntaba si alguno usa hadoop Spark en su día día y si me podíais recomendar un buen curso para empezar. Estuve en la charla de meetup de madrid hace unos meses de Rspark y estuvo bien, ahora me preguntaba si es posible profundizar. Pero me gustaría tener recomendaciones de cualquier material que podáis recomendar, cursos de coursera que hayais hecho, libros que hayais leido,
2004 Jul 14
2
constrOptim and function with additional parameters?
How can I use a function with some additional input parameters in constrOptim? For example, something like fr <- function(x,a) { ## Rosenbrock Banana function x1 <- x[1] x2 <- x[2] a * (x2 - x1 * x1)^2 + (1 - x1)^2 } where the optimum is to be found w.r.t. x. Calling optim(c(-1.2,1), fr, NULL, a=100) works as expected, but I fail to provide the a=100 in the constrained case:
2011 Dec 01
0
Problemas al instalar R 2.14 en Ubuntu 11.10 - Resuelto!
Disculpen se me escapó el portugués. 2011/11/30 Carlos J. Gil Bellosta <cgb@datanalytics.com> > El problema es que si tienes R instalado en tu $HOME, dependiendo de > la variable de entorno $PATH, uno de los ejecutables se llama primero > al llamar a R. > > Lo más natural sería eliminar R de $HOME ya que tienes instalada la > versión actual "como Dios manda".
2009 Jun 23
9
Learning FXRuby please help!
Hi all, I''m trying to get text on to the screen in response to pressing a button. This code doesn''t work, and I don''t know why. My puts command says that the window is shown, but it''s not displayed. Also, it seems to me that there should be an easier way to get text on a screen in response to pressing a button. Any hints? Thanks! Marlene require
2003 Sep 04
1
Looking for R Equivalent of Gauss Statements
Hi, I am translating some Gauss code to R. Gauss has an interesting way of handling constraints. Observe the following code snipplet: e1 = x[.,23] .eq 0; @ remove obs with Regular Hours = 0 @ e2 = x[.,12] .gt 1; @ remove obs with non-regular work status @ e3 = x[.,4] .lt 15; @ remove obs with agricultural and mining industry code (< 15)@ esum = e1 + e2 + e3; e = esum .gt 0; @
2011 Apr 14
3
Bad artifacts at 32kbps
I have been trying some different sample rate and bitrate combinations to get a feel for how CELT behaves. I then encoded it with a couple of different frame sizes and sample rates. There were some small differences, but nothing horrible. So, I decided to run with 24KHz sample rate with 16 bit samples. This seemed like a reasonable tradeoff against the quality degradation that my folks
2003 Nov 19
1
RMySQL_5.2 SuSE9.0
Hi, i try to install, but getting no success. What this mean cannot find -lz , any necessary lib left in my SuSE Installation? Many thanks, Christian linux:/usr/lib/R/bin # R CMD INSTALL RMySQL_0.5-2.tar.gz * Installing *source* package 'RMySQL' ... creating cache ./config.cache checking how to run the C preprocessor... cc -E checking for mysql_init in -lmysqlclient... yes checking
2000 Dec 10
3
installing R 1.1.1 on SuSE 7.0
Dear List, I just tried installing R 1.1.1 on SuSE 7.0 and encountered some problems. Using the precompiled binaries, I had a failed dependency: R was looking for "libblas.so.2" and apparently didn't find it. I then tried compiling from sources, which failed with the message: "/usr/bin/ginstall: zero.so No such file or directory" (or something to that effect). I'm
2003 Nov 12
4
column extraction by name ?
I have a data frame (df) with colums x, y and z. e.g. df <- data.frame(x = sample(4), y = sample(4), z = sample(4)) I can extract column z by: df$z or df[3] I can also extract columns x,y by: df[1:2] or by df[-3]. Is it possible to extract x,y columns in a "symbolic" fashion i.e. by equivalent of df[-z] (which is illegal) ??? Or alternativeley, is there an equivalent of
2018 Mar 02
0
release of SCperf 1.1.1 and bullwhipgame packages
Dear R users. I'm pleased to announce the release of *SCperf* 1.1.1 and *bullwhipgame* packages on CRAN. The *SCperf* package implements functions for planning and managing Inventories in a Supply Chain: https://CRAN.R-project.org/package=SCperf <https://cran.r-project.org/package=SCperf> And the *bullwhipgame* is a shiny app demo of the bullwhip effect, the increase in demand
2018 Mar 02
0
release of SCperf 1.1.1 and bullwhipgame packages
Dear R users. I'm pleased to announce the release of *SCperf* 1.1.1 and *bullwhipgame* packages on CRAN. The *SCperf* package implements functions for planning and managing Inventories in a Supply Chain: https://CRAN.R-project.org/package=SCperf <https://cran.r-project.org/package=SCperf> And the *bullwhipgame* is a shiny app demo of the bullwhip effect, the increase in demand
2003 Nov 16
2
Can not add users to samba 3.0
Hello, I can not seem to get smbpsswd to add any users to samba. No matter if I use the CLI, the Webmin module or SWAT I always get this response when trying to add any user [root@matrix1 samba]# smbpasswd -m -a gerard Failed initialise SAM_ACCOUNT for user gerard$. Failed to modify password entry for user gerard$ I take it this has somehting to do with PAM & or shadow passwords, & I