Displaying 2 results from an estimated 2 matches for "moltyp".
Did you mean:
  moltype
  
2008 Jun 27
1
xyplot and separate abline per plot
Hello list!
I have a set of data like this:
> alldata[1:5,]
     breaks numbers         disttype moltype            type
1 0.0000000    6598 Gapped Distances      5S Between species
2 0.4066667       0 Gapped Distances      5S Between species
3 0.8133333    5228 Gapped Distances      5S Between species
4 1.2200000       0 Gapped Distances      5S Between species
5 1.6266667    9702 Gapped Distances...
2008 Aug 05
1
xyplot key issue - line colors
I have a problem regarding the colors assigned to the lines in the key
to an xy plot. I specify the plot like this:
xyplot(numbers~sqrt(breaks)|moltype+disttype, groups = type, data = alldata,
      layout = c(3,2), type = "l" , lwd = 2, col = c("gray", "skyblue"), 
      key = simpleKey(levels(alldata$type), points = FALSE, lines = TRUE, 
      columns = 2, lwd = 2, col = c("gray", "skyblue")))...