search for: marlene

Displaying 20 results from an estimated 31 matches for "marlene".

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]]
2004 Jul 14
2
constrOptim and function with additional parameters?
...expected, but I fail to provide the a=100 in the constrained case: > constrOptim(c(-1.2,0.9), fr, NULL, ui=rbind(c(-1,0),c(0,-1)), ci=c(-1,-1),a=100) Error in f(theta) : Argument "a" is missing, with no default Is this a bug or is there a different solution that I miss here? TIA, Marlene
2009 Sep 30
3
programming to calculate variance
...,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. [[alternative HTML version deleted]]
2010 Feb 01
2
programing problem with for( )
...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 HTML version deleted]]
2011 Sep 16
2
problems to report indexes when I have two min value
...] NA NA 4.0 2.4 [4,] NA NA NA 2.0 > k <- apply(dat, 1, function(x) which(x == min(x, na.rm = TRUE))) > k [[1]] [1] 2 4 [[2]] [1] 4 [[3]] [1] 4 [[4]] [1] 4 But I need an output like this k<- 2 or 4, 4, 4, 4 Someone could help me with this issue. Thanks in advance, Marlene. [[alternative HTML version deleted]]
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; @
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]]
2012 Feb 07
1
Nuevo paquete SCperf en CRAN
...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 bienvenidos. Gracias, Marlene Marchena. [[alternative HTML version deleted]]
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
2009 Jun 23
9
Learning FXRuby please help!
...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 ''fox16'' include Fox class Lookup < FXMainWindow def initialize(app) super(app, "Lookup window", :width=>400, :height=>600, :opts => DECOR_ALL|LAYOUT_FILL_X|LAYOUT_FILL_Y) bframe = FXHorizontalFrame.new(self, :opts => LAYOUT_FILL_X)...
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
2004 Jul 14
0
Re: [R] constrOptim and function with additional parameters? (PR#7088)
...bj.old <- obj > r.old <- r > [...] >} > >So the object function `f' is called on the starting value `theta' but >the `...' is not passed through. > >-roger > >Duncan Murdoch wrote: >> On Wed, 14 Jul 2004 14:59:01 +0200 (MEST), "Marlene Mueller" >> <Marlene.Mueller@gmx.de> wrote : >> >> >>>How can I use a function with some additional input parameters >>>in constrOptim? For example, something like >>> >>>fr <- function(x,a) { ## Rosenbrock Banana function >...
2007 Feb 08
2
R
Dear Professor, I am preparing for a Ph.D in semiparametric regression at Cairo university in Egypt. Referring to R package KernGPLM, I obtained R version 2.4.1 but I did not find package KernGPLM. Please, help me how can I obtain this package. Thanks in advance. Name: Magda Haggag E-mail: magdahaggag@yahoo.com Address: 27, Notrdam Desion st., Gleem, Alexandria, Egypt.
2004 Jul 14
0
Re: [R] constrOptim and function with additional parameters? (PR#7089)
...;> [...] >>} >> >>So the object function `f' is called on the starting value `theta' but >>the `...' is not passed through. >> >>-roger >> >>Duncan Murdoch wrote: >> >>>On Wed, 14 Jul 2004 14:59:01 +0200 (MEST), "Marlene Mueller" >>><Marlene.Mueller@gmx.de> wrote : >>> >>> >>> >>>>How can I use a function with some additional input parameters >>>>in constrOptim? For example, something like >>>> >>>>fr <- function(x,a)...
2011 Dec 01
0
Problemas al instalar R 2.14 en Ubuntu 11.10 - Resuelto!
...lama 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". > > Un saludo, > > Carlos J. Gil Bellosta > http://www.datanalytics.com > > > El día 30 de noviembre de 2011 01:55, marlene marchena > <marchenamarlene@gmail.com> escribió: > > Hola! Muchas gracias por la ayuda! > > > > Ya creia que estaba enloqueciendo. Bueno sospecho que Carlos tiene razón, > > debo de tener dos versiones instaladas. > > > > Aqui las salidas de los comandos...
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,
2003 Nov 16
2
Can not add users to samba 3.0
...* %n\n *passwd:*all*authentication*tokens*updated*successfully* server string = Samba Server pam password change = Yes passwd program = /usr/bin/passwd %u socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 dns proxy = No workgroup = MATRIX ldap ssl = no valid users = gerard, lovswr, marlene, vswr max log size = 0 printing = cups hosts allow = pc2, freebsd, matrix1 guest account = [homes] comment = Home Directories path = /home/public read only = No create mask = 0664 directory mask = 0775 guest ok = Yes [printers] comment = All Printers path = /var/spool/samba printable...
2014 May 21
2
issue with parallel package
Dear maintainers of the parallel package, I ran into an issue with the parallel package in R-3.1.0. The following code prints the message "NULL!" quite a lot. library(parallel) for (n in 1:1000) { p <- mcparallel(sqrt(n)) res <- mccollect(p, wait=FALSE, timeout=1000) mccollect(p) if (is.null(res)) cat(n," NULL!\n") } It does not happen in