[R] Minimum and blanks

Peter Ehlers ehlers at ucalgary.ca
Thu Oct 1 08:36:34 CEST 2009


What is your definition of the minimum of a *character* vector?

  -Peter Ehlers

Chris Li wrote:
> Hi all,
> I want to calculate the minimum of a column which contains blanks.
> R returns "" as the minimum, which is not I want.
> Is there a way to overcome it?
> Thanks in advance.
> Chris

More information about the R-help mailing list