[R] Creating a Hash from Data.Frame

Gundala Viswanath gundalav at gmail.com
Mon Jun 16 03:53:21 CEST 2008


Hi,

I have the following data frame:

> print(mydatframe)

__DATAFRAME__

   V1    V2 V3
1 1007_s_at  DDR1  discoidin domain receptor tyrosine kinase 1
2 1053_at  RFC2  replication factor C (activator 1) 2, 40kDa
3 117_at  HSPA6  heat shock 70kDa protein 6 (HSP70B')

__END__

Is there a way to create a hash with
V2 as Key and V3 as its value?

- Gundala Viswanath
Jakarta - Indonesia



More information about the R-help mailing list