changes to docs
use 'missing' arg instead of na.rm
doc changes
cosmetic changes