Univariate Distributions with Conditioning and Grouping

require(lattice)
## Loading required package: lattice
?lattice
DataX = iris
attach(DataX)
?histogram
histogram(~Sepal.Length)

histogram(~Sepal.Length|Species, breaks=12, layout = c(3, 1)) # conditioning

?densityplot
densityplot(~Sepal.Length, groups=Species, plot.points=F, auto.key=T)  # grouping

?bwplot
bwplot(Sepal.Width~Species) 

bwplot(Sepal.Width~Species, panel = panel.violin)

# dotplot(Sepal.Width~Species)

Exploring Bivariate Relationships

xyplot(Sepal.Length ~ Petal.Length|Species, type=c("p", "smooth"), layout=c(1,3)) # conditioning