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 -- View this message in context: http://www.nabble.com/Minimum-and-blanks-tp25692189p25692189.html Sent from the R help mailing list archive at Nabble.com.
Chris, 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