[R] Lattice legend

Seth W Bigelow sbigelow at fs.fed.us
Wed Jun 23 00:54:29 CEST 2010


I have a moderately complex graph with three panels. There are data points 
plotted, and fitted lines are added using a panel function, which includes 

"with(alt.data[[which.packet()[1]]]" statements. It all graphs out 
beautifully, but none of the usual tricks to get the proper legend to plot 
are working, i.e., using auto.key, key, etc.
One message I keep getting is
 
Error in key[[i]][[1]] <- NULL :  more elements supplied than there are to 
replace



Any suggestions will be appreciated

--Seth


Dr. Seth  W. Bigelow
Biologist, USDA-FS Pacific Southwest Research Station
1731 Research Park Drive, Davis California
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 2007 data.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100622/bbd66d5f/attachment.txt>


More information about the R-help mailing list