Re: [R] Bubble plots

2008-08-03 Thread Franz Mueter
I believe ?symbols is what you are looking for. Of course, you need to convert categories to numeric values for plotting: For example, adding some actual data to your data frame: > D <- cbind(D, P = runif(15)) > symbols(as.numeric(D$time), as.numeric(D$y), circles=D$P, inches=0.2, ann=F, xaxt="n

Re: [R] xyplot questions - axis and plotting two things in same panel

2008-06-25 Thread Franz Mueter
As for your first problem, try: xyplot(numbers~breaks|moltype, groups = type, data = alldata, type = "l") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karin Lagesen Sent: Wednesday, June 25, 2008 2:13 AM To: r-help@r-project.org Subject: [R] xyplot que

Re: [R] Equivalent of Mathematica's Apply

2008-06-24 Thread Franz Mueter
Try > apply(ind, 1, function(i) x[i[1]:i[2]]) which returns a matrix if all sequences are the same length, a list otherwise -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan Pablo Romero Méndez Sent: Tuesday, June 24, 2008 11:51 AM To: [EMAIL PROTECT