[R] problem with max in a function

stephen sefick ssefick at gmail.com
Wed Sep 8 03:06:55 CEST 2010


s <- 1.00
max(s)

returns 1

is there anyway that I can get it to return 1.00.  I am using the
results of this max statement in a grep statement and it returns the
wrong numbers,  I will provide more information and code if it would
make more sense in context.

-- 
Stephen Sefick
____________________________________
| Auburn University                                   |
| Department of Biological Sciences           |
| 331 Funchess Hall                                  |
| Auburn, Alabama                                   |
| 36849                                                    |
|___________________________________|
| sas0025 at auburn.edu                             |
| http://www.auburn.edu/~sas0025             |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                -K. Mullis

"A big computer, a complex algorithm and a long time does not equal science."

                              -Robert Gentleman


More information about the R-help mailing list