search for: niklaus

Displaying 20 results from an estimated 50 matches for "niklaus".

Did you mean: nikolaus
2010 Mar 30
2
simple loop iteration
...matrix) now I try to create following loop for subtraction of element within the data.frame: > for(i in length(A[,"P"]-1){ delta[i]<- A[i,"P"]-A[i+1,"P"] } All I get is a vector of the correct length but with no readings. Thanks for any help on this. -- Niklaus Hürlimann Université de Lausanne Institut de Minéralogie et Géochimie L'Anthropole CH-1015 Lausanne Suisse E-mail: Niklaus.Hurlimann@unil.ch Tel:+41(0)21 692 4452 [[alternative HTML version deleted]]
2017 Jun 01
1
Restore a node in a replicating Gluster setup after data loss
...hope to start up Gluster on Server2 in such a way that it will sync the data from Server1 back. If at all possible, the Gluster cluster should stay up during this process and access to the Gluster volumes should not be interrupted. What is the correct / recommended way of doing this? Greetings Niklaus Hofer -- stepping stone GmbH Neufeldstrasse 9 CH-3012 Bern Telefon: +41 31 332 53 63 www.stepping-stone.ch niklaus.hofer at stepping-stone.ch
2003 Nov 20
5
Find value in vector (or matrix)
Hi all, Is there a function to check if a particular value is contained in a vector? I've looked at grep in the hope that I could use a Perl-like syntax, but obviously it's different... I'd like to do something like: y <- c("a","b","c") if("a" in y) { # "a" is not in y } Also, is there a way to
2010 Sep 29
1
Fitting a half-ellipse curve
...the y-positive part of an ellipse in my opinion or I might be completely wrong. In the end I would like to fit a curve of half an ellipse through the data. I might could do this as well with a 2nd order polynomial fit. I am grateful for any suggestions and comments to my problem. Cheers -- Niklaus Hürlimann Doctorant-PhD Université de Lausanne Institut de Minéralogie et Géochimie L'Anthropole CH-1015 Lausanne Suisse E-mail: Niklaus.Hurlimann@unil.ch Tel:+41(0)21 692 4452 [[alternative HTML version deleted]]
2008 Sep 23
5
xyplot problem
..., cex=sz) then sz in the cex argument is not applied per group as I would expect. Same for other arguments like col. Is this really the intended behaviour? How can I achieve what I want, i.e., that the cex argument is different for the different levels of grp? Thank you for your help Pascal Niklaus
2003 Nov 21
3
plot map of areas
Hi all, Given a number of points (x,y) in a plane, I'd like to plot a map of polygons, so that 1) each polygon contains exactly one point 2) the polygon defines the area for which this specific point is closer than any other point. It's a bit like a map of areas "influenced" by that point, and it's obviously a matter of intersecting the perpendicular bisectors
2011 Jun 30
1
Error "singular gradient matrix at initial parameter estimates" in nls
...40 Dy 1.027 Ho 1.015 Er 1.004 Tm 0.994 Yb 0.985 Lu 0.977 D<-data.matrix(PRr[c("D")]) D La 0.1806551 Ce 0.2703113 Pr 0.3757225 Nd 0.5271811 Sm 0.8665835 Eu 1.0812568 Gd 1.0612762 Tb 1.0726612 Dy 1.1679270 Ho 1.1910920 Er 1.1336938 Tm 1.1215107 Yb 0.9619603 Lu 0.8315467 Niklaus -- Niklaus Hürlimann Doctorant-(cand.PhD) Université de Lausanne Institut de Minéralogie et Géochimie L'Anthropole CH-1015 Lausanne Suisse E-mail: Niklaus.Hurlimann@unil.ch Tel:+41(0)21 692 4452 [[alternative HTML version deleted]]
2011 May 25
2
What does "smaller than" comparison do on strings?
...the following, and where can I find any documentation about it? In particular, why are 2:9 - as characters - not regarded as being smaller than 10? # R-Code: a <- as.character(1:12) a < 10 # [1] TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE Thanks in advance! Niklaus
2009 Jan 07
2
NA and NaN question
...NaN However, I don't understand the reasoning behind this and would appreciate and explanation. I understand that the mean of an empty vector is not definied, but I don't understand why it matters whether the vector was empty from the beginning or only after removing the NAs. Pascal Niklaus
2011 Dec 19
2
nlrob problem
...an optional data frame in which to evaluate the variables in ?formula? and ?weights?. Can also be a list or an environment, but not a matrix. I think it would be good to mention in the documentation of 'nls' that weights can be passed as 'w' as well. Pascal Niklaus
2007 Apr 13
3
Just another ini patch
Hi, well after some ever further investigation of some bugs, I ended up cleaning up the code, again. I also fixed some really heavy memory leaks in csvToList and made it in general more stable. Regards, Patrick "Marex" Niklaus -------------- next part -------------- A non-text attachment was scrubbed... Name: ini.c.patch Type: text/x-patch Size: 8275 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070413/bf740b2d/ini.c.bin
2003 Oct 22
2
plotmath question: y'
Hi all, I wonder how to correctly write the following expression (it's the axis label in a plot command): ylab=expression(y' == y - bar(y) ) Somehow the single quote in y' is causing the problems, I guess because it is interpreted as a quote... Does it have to be escaped? But how? Thanks for your help Pascal
2003 Nov 05
3
converting column to factor *within* a data frame
Hi all, I repeatedly encounter the following problem: After importing a data set into a data frame, I wish to set a column with numeric values to be a factor, but can't figure out how to do this. Also, I do not wish to write as.factor(x) all the time. I can create a new vector with x <- factor(x), but the new vector resides outside the attached data frame. Pascal > attach(ngrad)
2003 Nov 25
2
R recursion depth and stack size
Hi all, I am playing around with latin squares, and wrote a recursive function that searches for valid combinations. Apart from the fact that there are very many, I run into troubles beginning with size 10x10 because the recursion depth becomes too large (max of 10x9-1=89 in this case). Why is this a problem? Isn't there enough space allocated to the stack? Can this be increased? The
2006 Dec 18
2
Error compiling on HP-UX
...p. I am trying to compile R-2.4.0 on a HP-UX system: ./configure MAKE=gmake --prefix=$HOME --without-x --without-tcltk --disable-R-profiling --without-readline --disable-multibyte R is now configured for ia64-hp-hpux11.23 Source directory: . Installation directory: /home/agrl/pniklaus C compiler: gcc -g -O2 -std=gnu99 Fortran 77 compiler: f90 -g C++ compiler: g++ -g -O2 Fortran 90/95 compiler: f90 -g Interfaces supported: External libraries: Additional capabilities: NLS Options enabled: shared BLAS Recomme...
2003 Oct 08
1
Contrast specified with C() - R vs S-Plus problem
...2) [1] "" "A" "C" "E" >y.anova <- aov(y + C(CO2,c(1,0,-1)) ) Error in "contrasts<-"(*tmp*, value = contr) : wrong number of contrast matrix rows What is the way to do this in R? Thanks Pascal -- Dr. Pascal A. Niklaus Institute of Botany University of Basel Sch?nbeinstrasse 6 CH-4056 Basel / Switzerland
2003 Nov 20
2
Increment element of vector and efficiency
Hi all, Thanks for the incredibly quick help with the "%in%"... There's a second question, though: I'd like to increment an element of a vector if a certain event occurs, e.g. count[event] <- count[event] + 1; # works, but... Is this efficient? I wonder whether R needs to subset the count vector on both sides of the assignment operator (i.e., twice), or
2003 Dec 08
1
Add row to data frame
Hi all, is there an easy way to build up a data frame by sequentially adding individual rows? The data frame consists of numeric and character columns. I thought of rbind, but I ended up with numeric values for the character columns. Pascal
2003 Dec 17
1
Session log file...
Hi all, I tried to save a complete log of a R session we had in a seminar today... but I didn't succeed. 1) R | tee session.log This saves both input and output, but I do get the cursor key escape sequences from editing (cursor-up to get last command etc) instead of the actual command line executed. 2) savehistory Gets commands only, not the output 3) sink Gets output, without the
2010 May 29
0
plotting density in same plot in loop iteration
...y,c("a","c")] colnames(B)<- c("a","g") C<-rbind(A,B) c<-density(C[,"a"]) plot(d, col="blue",xlim=c(u,t),ylim=c(0,0.5)) polygon(d, col="blue",border="blue") lines(c, col="red") } } dev.off() -- Niklaus Hürlimann Université de Lausanne Institut de Minéralogie et Géochimie L'Anthropole CH-1015 Lausanne Suisse E-mail: Niklaus.Hurlimann@unil.ch Tel:+41(0)21 692 4452 [[alternative HTML version deleted]]