RES: [R] data.frame to matrix
On Mon, 9 Feb 2004 19:10:00 -0300, you wrote:
Hi Duncan, You were right. It was a vector and not a data.frame that I was dealing with. But still I am having dificulties. Please, take a look at some output (I am using R Commander GUI by the way): R-cmdr> print(b) [1] 0.70 0.85 0.80 0.70 0.75 0.75 0.80 0.70 0.80 0.75 0.80 0.79 0.78 0.75 0.76 [16] 0.70 0.70 0.70 0.80 0.80 0.70 0.65 0.60 0.70 0.55 0.80 0.65 0.60 0.70 [1] 0.65 0.75 0.80 0.70 0.65 0.75 0.65 0.80 0.85 0.70 0.80 0.79 0.78 0.85 0.76 [16] 0.75 0.85 0.60 0.80 0.75 0.85 0.85 0.65 0.70 0.65 0.65 0.75 0.60 0.60 [1] 0.65 0.75 0.80 0.70 0.65 0.75 0.65 0.80 0.85 0.70 0.80 0.79 0.78 0.85 0.76 [16] 0.75 0.85 0.60 0.80 0.75 0.85 0.85 0.65 0.70 0.65 0.65 0.75 0.60 0.60
That's a strange looking display -- b is probably some sort of object with a special print method. You can figure out what it is using "str(b)". Duncan Murdoch