search for: sample20

Displaying 2 results from an estimated 2 matches for "sample20".

Did you mean: sample2
2004 Jan 07
2
problem assigning an array to a variable in a data frame
...School) > attach(MathAchieve) > mses <- tapply(SES, School, mean) > detach(MathAchieve) > Bryk <- as.data.frame(MathAchieve[, c("School", "SES", "MathAch")]) > names(Bryk) <- c("school", "ses", "mathach") > sample20 <- sort(sample(7185, 20)) > Bryk$meanses <- mses[as.character(Bryk$school)] > Bryk[sample20,] Error in as.data.frame.default(x[[i]], optional = TRUE) : can't coerce array into a data.frame > This is with R 1.8.1 under Windows 2000. The same code works fine with R 1....
2006 Mar 14
1
MEMORY limit in R
I sent this to Bioconductor, but I think it is more of an R listserv question, because of memory allocation trouble I am having trouble getting the function heatmap() to work on the following gene expression > dim(SAMPLES_log) [1] 12626 20 sample1 sample2...................sample20 gen1 gen2 gen3 .... gen12626 I have converted SAMPLES_log to a numeric matrix using: as.matrix(SAMPLES_log) when I use the following command: heatmap(SAMPLES_log) Error: cannot allocate vector of size 622668 Kb In addition: Warning messages: 1: Reached total allocation of 1022Mb: see help(me...