Re: [R] FW: Bubble plots

2008-08-02 Thread Cody Hamilton
", panels) : second argument must be a list.' Have I made a mistake? By the way, is there a way to make the symbols on the plot the actual values of y? For instance, the frequency of level 'a' at time point 'time 1' could be represented by a red 'a' i

Re: [R] FW: Bubble plots

2008-08-02 Thread Cody Hamilton
Dear John, I will look forward to trying this out as well. Regards, -Cody From: John Fox [EMAIL PROTECTED] Sent: Saturday, August 02, 2008 11:41 AM To: hadley wickham; Frank E Harrell Jr Cc: r-help@r-project.org; Cody Hamilton Subject: Re: [R] FW

Re: [R] FW: Bubble plots

2008-08-02 Thread Cody Hamilton
Thank you Hadley - I will explore each of these options! Regards, -Cody From: hadley wickham [EMAIL PROTECTED] Sent: Saturday, August 02, 2008 6:24 AM To: Frank E Harrell Jr Cc: Cody Hamilton; r-help@r-project.org Subject: Re: [R] FW: Bubble plots On

Re: [R] FW: Bubble plots

2008-08-02 Thread hadley wickham
On Sat, Aug 2, 2008 at 1:41 PM, John Fox <[EMAIL PROTECTED]> wrote: > Dear Cody, Frank, and Hadley, > > Perhaps a more general point is that using a vectorized cex argument to > plot() or points(), one can specify the relative radii of circles. > > Try, for example, plot(1:10, cex=sqrt(1:10)). Of

Re: [R] FW: Bubble plots

2008-08-02 Thread John Fox
Dear Cody, Frank, and Hadley, Perhaps a more general point is that using a vectorized cex argument to plot() or points(), one can specify the relative radii of circles. Try, for example, plot(1:10, cex=sqrt(1:10)). Regards, John On Sat, 2 Aug 2008 08:24:33 -0500 "hadley wickham" <[EMAIL PROTE

Re: [R] FW: Bubble plots

2008-08-02 Thread hadley wickham
On Sat, Aug 2, 2008 at 8:10 AM, Frank E Harrell Jr <[EMAIL PROTECTED]> wrote: > Cody Hamilton wrote: >> >> Is there a way to create a 'bubble plot' in R? >> >> For example, if we define the following data frame containing the level of >> y observed for 5 patients at three time points: >> >> time<-c

Re: [R] FW: Bubble plots

2008-08-02 Thread Frank E Harrell Jr
Cody Hamilton wrote: Is there a way to create a 'bubble plot' in R? For example, if we define the following data frame containing the level of y observed for 5 patients at three time points: time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5)) y<-c('a','b','c','d','a','b','c','a','d','a','

[R] FW: Bubble plots

2008-08-02 Thread Cody Hamilton
Is there a way to create a 'bubble plot' in R? For example, if we define the following data frame containing the level of y observed for 5 patients at three time points: time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5)) y<-c('a','b','c','d','a','b','c','a','d','a','a','a','b','c','d') D<-