Skip to content
Prev 156321 / 398506 Next

Graphical Display of Values' Distribution

Again the probelm is the indeing being wrong. What you wand can be
achieved by this:

hist( urban.long[urban.long[,3]>1, 3] )

So your second approach was almost right but again did not return
column 3 as a vector.

You may also want to have a look at the manual page for the subset()
function which sometimes (or to some people) feels easier than logical
subsetting.

cu
	Philipp