[R] R memory usage

2007-08-08 Thread Jun Ding
Hi All, I have two questions in terms of the memory usage in R (sorry if the questions are naive, I am not familiar with this at all). 1) I am running R in a linux cluster. By reading the R helps, it seems there are no default upper limits for vsize or nsize. Is this right? Is there an upper

[R] alpha parameter in function rgb to specify color

2007-03-07 Thread Jun Ding
as alpha 255, there is no point in the plot. Do I use it in the right way? Any advice is appreciated. Best, Jun Ding Expecting? Get great news right away with email Auto-Check

Re: [R] alpha parameter in function rgb to specify color

2007-03-07 Thread Jun Ding
are you using? From: [EMAIL PROTECTED] on behalf of Jun Ding Sent: Wed 3/7/2007 9:47 PM To: r-help@stat.math.ethz.ch Subject: [R] alpha parameter in function rgb to specify color Hi All, In function rgb, alpha parameter is supposed to set

[R] hierarchical clustering using cutree

2007-02-26 Thread Jun Ding
Hi Everyone, I am doing hierarchical clustering analysis and have a question regarding cutree. I am doing things like this: hc - hclust(dist(X)) a - cutree(hc, k=2) Basically a is a vector containing the assignments of 1 or 2 for each sample. May I know how cutree decides to assign 1 and 2's

[R] A question regarding cutree

2007-02-22 Thread Jun Ding
Hi Everyone, I am doing hierarchical clustering analysis and have a question regarding cutree. I am doing things like this: hc - hclust(dist(X)) a - cutree(hc, k=2) Basically a is a vector containing the assignments of 1 or 2 for each sample. May I know how cutree decides to assign 1 and 2's

[R] Extract information from the summary of 'lm'

2006-06-20 Thread Jun Ding
to get the t and P values for each model. Can anybody give me some hints? Thank you very much! Best, Jun Jun Ding, Ph.D. student Department of Biostatistics University of Michigan Ann Arbor, MI, 48105 __ R-help

[R] function cv.glm in library 'boot'

2005-12-29 Thread Jun Ding
Hi, everyone, I have a question regarding function cv.glm in library 'boot'. Basically cv.glm can calculate the estimated K-fold cross-validation prediction error for generalized linear models. My question is this: if I am fitting a logit model, what kind of threshold will it use to calculate

[R] Variable descriptions of a built-in dataset

2005-09-17 Thread Jun Ding
Hi, everyone, Is there a way to get the detailed variable descriptions of a built-in dataset? By using attributes(Boston) I can get the names of each variables of a builtin dataset 'Boston'(in package MASS), but I don't know what each variable means. Can some body tell me how I can get more

[R] counting numbers without replicates in a vector

2004-12-16 Thread Jun Ding
Hi, I am just wondering if there is an easy way to count in a numeric vector how many numbers don't have replicates. For example, a=c(1,1,2,2,3,4,5), how can I know there are three numbers (3, 4 and 5) without replicates? Thank you! Jun = __