sort(c(3,1,NA))
[1] 1 3
Shouldn't NAs be retained by default?
help(sort)
sort(c(3,1,NA),na.last=TRUE)
Cheers
Jason -- Indigo Industrial Controls Ltd. 64-21-343-545 [EMAIL PROTECTED]
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
