similar to: Does anyone else think this might be worth a warning?!?

Displaying 20 results from an estimated 9000 matches similar to: "Does anyone else think this might be worth a warning?!?"

2007 Aug 08
1
Binary Search
Hi! R is an amazing piece of software and with so many libraries it can do almost anything... but I was very surprised that a standard "binary search" function seems not to exist. I can find other much more highly-complex search routines (optimize, uniroot, nlm) in the standard no-extra-packages-loaded version of R, but not this simple alternative. I searched and found an
2007 Aug 31
2
Problem of vocabulary : retrieve element of a list of a list
Hi, I read the posts for 2 hours and ?list and tried many comninations but I haven't found the answer to this basic question. So I decided to post my question even if it is a silly one ... What is the instruction to retrieve, for example, the "D" of the first list ? Thanks in advance, Ptit Bleu. > x<-list(LETTERS[1:5], LETTERS[10:20]) > x [[1]] [1] "A"
2007 Aug 22
3
Help with vector gymnastics
Hello, What is the best way of solving this problem? answer <- ifelse(tf=TRUE, i * 5, previous answer) where as an initial condition tf[1] <- TRUE For example if, tf <- c(T,F,F,F,T,T,F) over i = 1 to 7 then the output of the function will be answer = 5 5 5 5 25 30 30 Thank you. Phil,
2007 Aug 20
2
Does anyone.... worth a warning?!? No warning at all
Een ingesloten tekst met niet-gespecificeerde tekenset is van het bericht gescrubt ... Naam: niet beschikbaar Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070820/a4fb056c/attachment.pl
2007 Jul 25
1
how to use "replace" for efficiency
Hi I think I have been struggling to use replace correctly, I usually work my way around this using a loop, but I think this is in fact inefficient. I have a dataset with runoff from three plots and associated rainfall. However either the datarecording was sloppy, or the rainfall very patchy. So I am trying to remove data from my dataset for which the runoff is larger than the rainfall on the
2010 Jan 12
1
coerce vector into array - change filling sequence
Dear all, When I coerce a vector into a multi dimensional array, I would like R to start filling the array along the last dimension, then the 2nd last etc. Let's jump straight into an example. x <- 1 : 24 y <- array(dim=c(2,2,6)) I would like to have: y[1,1,1] = 1 y[1,1,2] = 2 ... y[1,1,6] = 6 y[1,2,1] = 7 y[1,2,2] = 8 ... y[2,1,1] = 13 ... y[2,2,1] = 19 if I do y<- array(x,
2005 Mar 28
2
Generating list of vector coordinates
Hi. Can anyone suggest a simple way to obtain in R a list of vector coordinates of the following form? The code below is Mathematica. In[5]:= Flatten[Table[{i,j,k},{i,3},{j,4},{k,5}], 2] Out[5]= {{1,1,1},{1,1,2},{1,1,3},{1,1,4},{1,1,5},{1,2,1},{1,2,2},{1,2,3},{1 ,2,4},{1,2, 5},{1,3,1},{1,3,2},{1,3,3},{1,3,4},{1,3,5},{1,4,1},{1,4,2},{1,4,3}, {1,4,
2007 Aug 14
3
diffusing GIS data in maps
Hi- I am trying to find a way to diffuse GIS data on a European map. I have a dataset consisting of particular locations scattered across Europe, along with magnitude and value information. I can plot these as discrete points with something like the following: "geocode" is a dataframe with four columns: LAT; LONG; MAGNITUDE;VALUE. library(maps) library(mapdata)
2006 Jun 01
1
Anyone else think Eclipse (radrails) is slow in SUSE Linux?
Ive just changed from windows to suse linux today and the performance is pretty crappy. Anyone else had this problem? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2015 Jun 28
0
Anyone else think the latest Xorg fix is hogging stuff?
On 06/27/15 17:05, Bill Maltby (C4B) wrote: > Since the latest update (may wrap here), > xorg-x11-server-Xorg-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 > 04:16:01 PM EDT > xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 > 04:15:58 PM EDT > x264-0.0.0-0.4.20101111.el6.rf.x86_64 Wed 19 Nov 2014 04:56:05 > PM EST >
2016 Apr 27
3
Same sum, different sets of integers
Hi, Do you have ideas, how to find all those different combinations of integers (>0) that produce as a sum, a certain integer. i.e.: if that sum is 3, the possibilities are c(1,1,1), c(1,2), c(2,1) 4, the possibilities are c(1,1,1,1),c(1,1,2),c(1,2,1),c(2,1,1),c(2,2),c(1,3),c(3,1) etc. Best regards, Atte Tenkanen
2008 Oct 15
1
Forecasting using ARIMAX
Dear R-helpers, I would appreicate if someone can help me on the transfer parameter in ARIMAX and also see what I am doing is correct. I am using ARIMAX with 2 Exogeneous Variables and 10 years data are as follows: DepVar Period, depVar, IndepVar1 Period, indepVar1, IndepVar2 Period, indepVar2 Jan 1998,708,Jan 1998,495,Jan 1998,245.490 Feb 1998,670,Feb 1998,421.25,Feb 1998,288.170 Mar
2011 May 27
1
eigenvalues and correlation matrices
I'm trying to test if a correlation matrix is positive semidefinite. My understanding is that a matrix is positive semidefinite if it is Hermitian and all its eigenvalues are positive. The values in my correlation matrix are real and the layout means that it is symmetric. This seems to satisfy the Hermitian criterion so I figure that my real challenge is to check if the eigenvalues are all
2015 Jun 27
3
Anyone else think the latest Xorg fix is hogging stuff?
Since the latest update (may wrap here), xorg-x11-server-Xorg-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 04:16:01 PM EDT xorg-x11-server-common-1.15.0-26.el6.centos.0.1.x86_64 Sat 20 Jun 2015 04:15:58 PM EDT x264-0.0.0-0.4.20101111.el6.rf.x86_64 Wed 19 Nov 2014 04:56:05 PM EST xvidcore-1.2.2-1.el6.rf.x86_64 Wed 19 Nov 2014 04:55:49 PM EST . . . drop a lot of older
2007 Aug 31
3
Choosing the optimum lag order of ARIMA model
Dear all R users, I am really struggling to determine the most appropriate lag order of ARIMA model. My understanding is that, as for MA [q] model the auto correlation coeff vanishes after q lag, it says the MA order of a ARIMA model, and for a AR[p] model partial autocorrelation vanishes after p lags it helps to determine the AR lag. And most appropriate model choosed by this argument gives
2016 Apr 28
0
Same sum, different sets of integers
This is not the most efficient, but gets the idea across. This is the largest sum I can compute on my laptop with 16GB of memory. If I try to set N to 9, I run out of memory due to the size of the expand.grid. > N <- 8 # value to add up to > # create expand.grid for all combinations and convert to matrix > x <- as.matrix(expand.grid(rep(list(0:(N - 1)), N))) > > # generate
2009 Dec 20
2
Live CD - do you think they are worth doing?
Hi, Curious, do many of you check out software or projects when they have a live CD or does that make any difference to you? Does anyone know if the general public (not reading this kind of list) is attracted to a Live CD more than an Install one? thx, /r
2003 May 06
0
for what it's worth, I think I have inadvertently solved an old problem...
All, For the longest time I was having this strange folder recursion problem. It persisted through many samba upgrades. The problem can be seen here in this thread: http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&safe=off&frame=right&th=48f08dabcabb2877&seekm=9oglr1%241d66%241%40FreeBSD.csie.NCTU.edu.tw#link1 I think my configuration was wrong, and
2007 Jul 26
3
substituting dots in the names of the columns (sub, gsub, regexpr)
Dear R users, I have the following two problems, related to the function sub, grep, regexpr and similia. The header of the file(s) I have to import is like this. c("y (m)", "BD (g/cm3)", "PR (Mpa)", "Ks (m/s)", "SP g./g.", "P (m3/m3)", "theta1 (g/g)", "theta2 (g/g)", "AWC (g/g)") To get rid of spaces and
2016 Apr 28
1
Same sum, different sets of integers
I came up with this, using recursion. Short and should work for n greater than 9 :) Peter sumsToN = function(n) { if (n==1) return(1); out = lapply(1:(n-1), function(i) { s1 = sumsToN(n-i); lapply(s1, c, i) }) c(n, unlist(out, recursive = FALSE)); } > sumsToN(4) [[1]] [1] 4 [[2]] [1] 3 1 [[3]] [1] 2 1 1 [[4]] [1] 1 1 1 1 [[5]] [1] 1 2 1 [[6]] [1] 2 2 [[7]] [1] 1 1 2