I need to interactively explore profiles of of a y variable (reflectance) against an x variable (wavelength) in plots that are very similar to time plots. My problem is that besides checking the exact x,y values, I also would need to get the channel (that is, a third variable). I do not see a way of doing this with qplot(), is it? Actually, if using the "?" key with qscatter() you get x,y and ID, so we are not that far...
Thanks,
Agus
qtime(x, y, qdata, group=z)
--
You received this message because you are subscribed to the Google Groups "cranvas" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cranvas+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks.
But in that case the line between points is eliminated
chann <- paste("B",qnasa$TimeIndx,sep="_")
minasa2221 <- cbind(nasa2221,chann=chann)
qminasa <- qdata(minasa2221)
qtime(time=TimeIndx, y=ts, data=qminasa, group=chann)
And in any case, this solution with group would apply in the case in which, as in the example I mentioned about the channels, the z variable is categorical.
But for the case in which z is continuous the only solution I can find in the help page is as in the pigs example: plotting several "y" variables.
I understand this is interesting in many cases, but in many others you are interested on the time (or wavelength) dependence
of only one variable "y", thus the rest of variables just make the plot confusing. For example, consider the case in which
you have a correct qplot with
qtime(time=TimeIndx, y=ts, data=qnasa)
but then you are interested on checking the values ofo3_tovs at the peaks.
Perhaps there is a way of linking the qtime plot to the table so that you select a point
in the graphic and get the values of the corresponding row in the table (or a subset of predefined variables of interest)?
On Tue, Nov 19, 2013 at 10:22 AM, <alobo...@gmail.com> wrote:
Thanks.
But in that case the line between points is eliminated
chann <- paste("B",qnasa$TimeIndx,sep="_")
minasa2221 <- cbind(nasa2221,chann=chann)
qminasa <- qdata(minasa2221)
qtime(time=TimeIndx, y=ts, data=qminasa, group=chann)I guess I don't understand your problem very well. Here you set every time point in a unique group, so totally you have 72 groups for 72 data points, which will not connect any points by group, because every group only contains one value.