This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: m apply(m,1,sum) 1 apply(m,2,mean) plot(m[,1],m[,2]) plot(m[,1],m[,2],pch=16) plot(m[,1],m[,2],pch=16,col=4) lines(m[,1],m[,2],col=2) Q2 (5 pts) library(lattice) data(lattice) ?lattice require(stats) Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes) update(trellis.last.object(), strip = strip.custom(strip.names = TRUE, strip.levels = TRUE), par.strip.text = list(cex = 0.75), aspect = "iso")...
View Full Document
This note was uploaded on 07/29/2010 for the course BIOC BIOC2808 taught by Professor Dr.jjwang during the Fall '09 term at HKU.
- Fall '09