Displaying 2 results from an estimated 2 matches for "9bc2".
Did you mean:
9b52
2007 Aug 13
0
[BUG] migration problem
...;'], [''device'', [''vif'', [''mac'', ''00:16:3e:37:b9:24''], [''script'',
''vif-bridge''], [''type'', ''netfront''], [''uuid'',
''75f6bbf5-9bc2-4c42-af5c-13d0d85b99b3''], [''backend'', ''0'']]], [''device'',
[''vbd'', [''uname'',
''phy:/dev/disk/by-path/ip-192.168.1.4:3260-iscsi-iqn.2007-08.eu.nusec:
xen.etch.xvda''], [''uui...
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.