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
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
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
3 matches
Mail list logo