Communications in Biometry and Crop Science

Communications
in Biometry and Crop Science

 

 

Contents

SOFTWARE TRICKS AND TIPS
dotplots.errors, a new R function to ease the pain of creating dotplots

Marcin Kozak


Communications in Biometry and Crop Science (2010) 5 (2), 69-77.
 

ABSTRACT
Dot plots are preferred over barplots to present estimates with error bars for grouped data, yet the latter are overwhelmingly more often used in such situations. The paper presents a code for an R function to produce a dot plot with error bars, employing the utility of the lattice package. Easy to use for non-advanced users of lattice and R, it offers much possibilities to control the appearance of the plot. Both horizontal and vertical versions of the plot can be produced.
 

Key Words: barplot; dotplot; lattice; visualization.