Displaying 15 results from an estimated 15 matches for "vlookups".
Did you mean:
lookups
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
8 -259 1000
8
2010 Jul 06
4
Adding two files into one and vlookup
I have two 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
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 ?------> ?5
Thanks for your help!
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
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
Hi,
A quick beginner's question. I have two time series, A with
daily data, and another B with data at varying frequencies, but mostly
annual. Both the series are sorted ascending.
I need to merge these two series together in the following way: For any
entry of A, the lookup should match with B until we find an entry of B
that's larger than A's.
For all A[i], i = 1,...,N and B[j],
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
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
Hello,
I have a matrix and I want to sample 20 rows that are the the percentiles of
0-100 in 0.05 increments. I have 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
2018 Mar 25
1
Get Specific Records from Another DataFrame
Hello
I have been struggling with this simple looking problem. I have two
dataframes. The first one contains ID, date, and revenue information for
specific suppliers.
id lastdate depvar
A 5/10/2017 10
B 8/16/2017 20
C 2/14/2017 30
D 9/5/2017 40
E 8/1/2017 50
F 11/4/2017 60
G 6/22/2017 70
The second dataframe contains timeseries data of each supplier in different
columns. For example Column A are
2001 May 01
0
thoughts on where R fits as a language
I have a lot of java data analysis code I have written for processing 400MB
per day of compressed packet sniffer data. I have been playing with R
recently and struggling to 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
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.