
lansing
data frame has 1217 rows and 3 columns.
The first two columns give the location, the third column the tree type.data(lansing)
grid1
,
dens
data(lansing)
plot(lansing[,1:2], pch=as.integer(lansing[,3]),
col=as.integer(lansing[,3]), main="Lansing Woods tree types")
Run the code above in your browser using DataLab