[Rd] histogram {lattice}: width of outmost bars

Deepayan Sarkar deepayan at stat.wisc.edu
Fri Apr 4 01:31:26 MEST 2003


On Thursday 03 April 2003 05:11 am, Wolfram Fischer wrote:
> [R 1.6.1]
>
> OBSERVATION
>
> data( state )
> histogram( ~ state.region
> 	, equal.widths = TRUE	# is not necessary with factors
> 	, scales = list( x = list( at = 1 : nlevels( state.region )
> 		, labels = as.character( levels( state.region ) )
> 		))
> 	)
>
> The width of the bars touching the panel border
> ("Northeast" and "West") is not the same as the
> width of the bars between these outmost bars.

Could you try with R 1.6.2 ? (The output of the above code doesn't look wrong 
to me with 1.6.2).

Deepayan



More information about the R-devel mailing list