R: Call a Specific Column -
i trying pickup specific value row name , column name. have df , not allowed change column name.
oa ob oc od oa - e c g ob c - j l oc - od b b
for example, row=oa , col=ob return e, row=od , col=ob return b. have tried df["oa", "ob"]
in below, didn't return anything.
are allowed subset using coordinates?
such as...
oaob<-df[1,2] ##this give value "e"
use name of df, , [row,col] coordinates
Comments
Post a Comment