Skip to content
Back to formatted view

Raw Message

Message-ID: <q1fg20l3ouh1allienc1h6s302jll40lf4@4ax.com>
Date: 2004-02-10T02:31:17Z
From: Duncan Murdoch
Subject: RES: [R] data.frame to matrix
In-Reply-To: <000501c3ef59$76c90840$6200a8c0@blackdog>

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