Skip to content
Prev 175588 / 398503 Next

labeling panels in lattice plots

Sundar,

Your suggestion to convert year to a factor worked like a charm.

Thank you very much.

Steve

Steve Friedman Ph. D.
Spatial Statistical Analyst
Everglades and Dry Tortugas National Park
950 N Krome Ave (3rd Floor)
Homestead, Florida 33034

Steve_Friedman at nps.gov
Office (305) 224 - 4282
Fax     (305) 224 - 4147


                                                                           
             Sundar Dorai-Raj                                              
             <sdorairaj at gmail.                                             
             com>                                                       To 
                                       Steve_Friedman at nps.gov              
             03/31/2009 06:50                                           cc 
             AM MST                    r-help at r-project.org                
                                                                   Subject 
                                       Re: [R] labeling panels in lattice  
                                       plots                               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Try converting year to a factor

xyplot(min + max + ave ~ month | factor(year), data = rain.stats, ...)

Also, notice the inclusion of the "data" argument.

HTH,

--sundar
On Tue, Mar 31, 2009 at 6:28 AM, <Steve_Friedman at nps.gov> wrote:
following
panel
results
http://www.R-project.org/posting-guide.html