An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090823/bcf236e7/attachment-0001.pl>
reading from dataframe?
2 messages · rami jiossy, David Winsemius
On Aug 23, 2009, at 7:39 AM, rami jiossy wrote:
Hi; I have a very basic question about reading element from dataframe T (2 dimentional) I want to extract element T[1,1] as a string. T[1,1] returns an element with "names", means header. this i cannot compare with any other list of strings. how can i fix that?
You are expecting us to offer advice on the basis of things that we cannot see. Show us preferably the output of dput(T) and failing that at the very least the output of either dput(T[1, ]) and str(T). It is possible that unlist(T[1,1]) or unname(T[1,1]) could be the answer, but without better evidence those are wild guesses.
David Winsemius, MD Heritage Laboratories West Hartford, CT