Hi All,
I am having great trouble doing something pretty simple.
Here is what I did:
> x <- read.table("clipboard")
> dim (x)
[1] 126 10
> typeof(x)
[1] "list"
> w <- array(x)
> typeof(w)
"list"
Q1: How come after constructing an array out of the list, the type of
the array is still "list"?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Zhu
> Sent: Thursday, November 15, 2007 10:45 AM
> To: r-help@r-project.org
> Subject: [R] HELP: How to subtract a vector out of each row
> of a matrix or array
>
&g
2 matches
Mail list logo