[R] List Name help
Rajasekaramya
ramya.victory at gmail.com
Mon Nov 23 17:53:30 CET 2009
Hi There,
I have a named List object.I want to access all the list elements that has
the same name
for example
The List
test <- list()
$d2
v1 v2 v3 v4
1 2 3 4 5
$d2
v1 v2 v3 v4
1 2 3 4 5
$d3
v1 v2 v3 v4
8 9 19 10
$d1
v1 v2 v3 v4
12 14 15 16
so if i say test[["d2"]] or test["d2"] i should get the first two that
matches the name rite but i am not getting them jus getting the first one.
Any suggestions on it
Ramya
--
View this message in context: http://old.nabble.com/List-Name-help-tp26481873p26481873.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list