Displaying 3 results from an estimated 3 matches for "ymz7".
Did you mean:
ymm7
2008 May 29
1
Joining uneven datasets
Hello,
I have quite a simple problem that I believe can be solved quite easily. I
have a dataframe as such:
Symbol Date Time Exchange TickType ReferenceNumber Price Size
1 3:YMZ7.EC 12/03/2007 08:30:00 EC B 83916044 13387 9
2 3:YMZ7.EC 12/03/2007 08:30:00 EC A 83916045 13388 1
3 3:YMZ7.EC 12/03/2007 08:30:00 EC B 83916054 13387 9
4 3:YMZ7.EC 12/03/2007 08:30:00 EC A 83916055 13388 1...
2008 May 29
3
Manipulating DataSets
Hello R-Users,
I am new to R and trying my best however I need help with this simple task.
I have a dataset, YM1207.
X.Symbol Date Time Exchange TickType
ReferenceNumber Price Size
12491 3:YMZ7.EC 12/03/2007 08:32:50 EC B
85985770 13379 7
12492 3:YMZ7.EC 12/03/2007 08:32:50 EC A
85985771 13380 4
12493 3:YMZ7.EC 12/03/2007 08:32:50 EC T
85985845 13379 1
12494 3:YMZ7.EC 12/03/2007 08:32:50...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.