Displaying 1 result from an estimated 1 matches for "myframe_b".
Did you mean:
  myframe_a
  
2007 Dec 30
1
plot multiple data sets on same axis
...ith a legend. I'd like to start by getting
that in a scatterplot form:
    # XXX: datasets hardcoded in here...
    # is split() supposed to do something similar to this?
    # or how do I get a list of datasets to feed into subset?
    myframe_a <- subset(myframe, dataset=='a')
    myframe_b <- subset(myframe, dataset=='b')
    ...
and then I can apparently plot one and add points from others to it:
    # XXX: more hardcoding...
    attach(myframe_a)
    plot(x, y, col='red')
    detach(myframe_a)
    attach(myframe_b)
    points(x, y, col='blue')
    detac...