search for: vlookup

Displaying 15 results from an estimated 15 matches for "vlookup".

Did you mean: lookup
2008 Mar 24
6
vlookup in R
Hi, Is there are function similar to excel vlookup in R. Please let me know. Thanks, Sachin ____________________________________________________________________________________ [[alternative HTML version deleted]]
2011 Jun 03
1
VLOOKUP in R - tried everything.
I am attempting to emulate the VLOOKUP function from Excel in R. I want to compare one column (coll.minus.release) with another (release.days) to get the number of parasitoid released at that time (TotalParasitoids). for example: coll.minus.release release.days ParasitoidTotal -12 -266 1700...
2010 Jul 06
4
Adding two files into one and vlookup
...wo files with dates and prices in each. The number of rows in each of them will differ. How do I create a new file which contains data from both these files? Cbind and merge are not helpful. For cbind because the rows are not the same replication occurs. Also if I have similar data how do I write a vlookup kind of function? I am giving an example below: Say Price1 file contains the following: Date Price 2/3/2010 134.00 3/3/2010 133.90 4/3/2010 135.55 And say price2 contains the following: Date Price 2/3/2010 2300 3/3/2010 3200 4/3/2010...
2012 Feb 28
4
vlookup type function
Hi I''m looking for an Excel Vlookup type function in R. Example: list <- c(1,2,3,4,5,6,7) base <- c(2.2,3,5.2) What I want is, for each number in base, the highest value in list, which is equal to or less than the number in base So the results would be: base ? ? ? ? list 2.2 ?------> 2 3 ? ?------> 3 5.2 ?------> ?...
2010 May 28
4
vlookup in R?
Hi R-users,   I would like to search for the values of seq that match my rand values.  In excel I will use =VLOOKUP(G2,$E$2:$F$32,2).  For example, for rand=.262 it will give me approximately seq=120 and rand=0.964293344, seq=460 and etc.   E           F     G cdf         seq   rand 0.00E+00    0     0.262123478 1.56E-03    20    0.964293344 1.55E-02    40    0.494827113 5.30E-02    60    0.733726005 1.16E-01   ...
2010 May 28
1
something like vlookup in R?
Hi r users,   I would like sort of   cdf         seq   rand 0.00E+00    0     0.262123478 1.56E-03    20    0.964293344 1.55E-02    40    0.494827113 5.30E-02    60    0.733726005 1.16E-01    80    0.800408948 1.97E-01    100   0.925748466 2.88E-01    120   0.047578356 3.80E-01    140   0.266060366 4.68E-01    160   0.125522629 5.48E-01    180   0.701193274 6.18E-01    200   0.915799432
2010 Feb 22
2
vloopkup or search function
Hi,   Does R has something similar  to vlookup function in excel?   Thank you for the info. [[alternative HTML version deleted]]
2007 May 10
3
Quick question on merging two time-series of different frequencies
...t's larger than A's. For all A[i], i = 1,...,N and B[j], j=1,...M Match with B[j] where A[i] <= B[j] When A[i] > B[j], match with B[j+1] where A[i] <= B[j+1] Basically the less-frequent attributes stay true for a stock while the daily prices change. One example of this is the vlookup function in Excel with the TRUE option. So we have an implementation of this in R? TIA and best, -Tir
2010 Nov 08
2
lookup in R - possible to avoid loops?
Hello! Hope there is a nifty way to speed up my code by avoiding loops. My task is simple - analogous to the vlookup formula in Excel. Here is how I programmed it: # My example data frame: set.seed(1245) my.df<-data.frame(names=rep(letters[1:3],3),value=round(rnorm(9,mean=20,sd=5),0)) my.df<-my.df[order(my.df$names),] my.df$names<-as.character(my.df$names) (my.df) # My example lookup table: my.lookup&l...
2007 Jul 23
2
R and Excel
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070723/2d591177/attachment.pl
2008 Aug 11
2
sampling
...a vector of my sequence (0, 0.05, 0.10, 0.15,....1.0) and also a normalised vector of rownumbers. That is, there are 234 rows (for example) so I do perc<-c(1:234/234) which looks like a bunch of numbers from 0 - 1. In Excel (which I try not to use at every possible occaison) you can use a VLOOKUP function to say choose the rows from the perc vector that are the closest match to the sequence vector - i.e. you can specify to choose the "closest" match, it doesn't have to be an exact match. In R, I'd normally use the grep command when I know it's an exact match. Does an...
2018 Mar 25
1
Get Specific Records from Another DataFrame
...able to create an array that takes all last dates and then subtracts 30 from them. Then how can I go to the second table and grab the value of the independent variables for those specific dates? Timeseries of the suppliers have different start dates. I feel like I need to use something similar to vlookup in Excel. But a value in the first dataset (let's say Supplier A) becomes a variable name in dataset two. Any hint is appreciated. Thank you. [[alternative HTML version deleted]]
2001 May 01
0
thoughts on where R fits as a language
...understand where the dividing line between languages like java and R is in terms of which sorts of code in makes sense to write in each. It struck me the other day, as I was using excel to manually manipulate large tables of string and numeric data doing things like table lookup (using excel's vlookup function) and partitioning a table by the unique values of a text column to perform sums on different numeric columns within the partitions (you wouldn't believe the tricks I have stumbled upon to make excel do things like that over the years) that R seemed to be made for computations like this...
2012 Mar 06
3
Label rows of table by factor level for groups of factors
Dear useRs, I am sure this is a fairly simple problem, but I just cannot get my head around it. I have a dataframe which contains several factor variables. I can use table() to tell me how many different combinations there are of these variables. What I should like to do is to add a column to my original dataframe which labels each row according to the unique combination of factors. E.g. in
2012 Aug 28
5
Cut command behaviour - bug or feature
Greetings, I have a CSV file with three fields. eg. a1,b1,c1 a2,b2,c2 .... I wanted the output to be: b1,c1,a1 b2,c2,a2 .... the command cut -d, -f2,3,1 <file> returns a1,b1,c1 cut -d, -f2,3 <file> works as advertised. Is it specific to linux? In that case how do I go about swapping two columns? I do not think a gazzillion byte gui is required. The file size is about 43Megs.