Displaying 1 result from an estimated 1 matches for "unitarea".
2012 Jun 27
1
lattice histogram log and non log values
Hello all,
Please consider the following
library(lattice)
Colors. <-rep(brewer.pal(7, "Dark2"),2)
color <- 1
Data.X.. <- data.frame(UnitArea = c(rnorm(1000), rnorm(1000)), Type =
c(rep("Base",1000),rep("Log",1000)))
histogram( ~ UnitArea | Type, data = Data.X..,
xlab = "Unit Area", type = "density",
panel = function(x, ... ){
panel.histogram(x, ...)...