[R] Min , Max

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Apr 27 20:35:16 CEST 2012


a) don't double post
b) provide context... the majority of R-helpers do not use nabble
c) read and believe the error message... don't subscript on a vector known to have one element.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Jonsson <amen.alyaari at Bordeaux.inra.fr> wrote:

>this is what happened with me:that when I get to the second element
>h[n]
>becomes h[2] which 
>doesn't exist (h[1] obviously did).
>Any suggestions 
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/Min-Max-tp4593065p4593402.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list