[R] Cross-validation question

2009-01-13 Thread Geoffrey Zhu
Hello everyone, I have a data set that looks like the following: Year Days to the beginning of YearValue 1 30 100 1 60200 1..

[R] HELP: How to subtract a vector out of each row of a matrix or array

2007-11-15 Thread Geoffrey Zhu
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"?