<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>nanmin</TITLE>
  <TYPE>  </TYPE>
  <DATE>July 2000</DATE>
  <SHORT_DESCRIPTION name="nanmin">  min  (ignoring Nan's) </SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[m,index]=nanmin(x)  </CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>[m,index]=nanmin(x,'r')  </CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>[m,index]=nanmin(x,'c')  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>x</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real or complex vector or matrix</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    This function gives for a real or a numerical matrix <VERB>x</VERB> 
    his largest element <VERB>   m</VERB> (but ignoring the
    NANs).</P>
    <P>
    For    <VERB> x</VERB>,   a  numerical   vector  or matrix, 
    <VERB> m=nanmin(x) </VERB>  returns in scalar  <VERB> m</VERB> the largest
    element of <VERB> x</VERB> (ignoring  the  NANs). The form  
    <VERB>[m,index] =nanmin(x,orient) </VERB> gives  in addition of  the
    value of the largest  element of <VERB>  x</VERB> (ignoring  the
    NANs) in scalar  <VERB> m</VERB>, the index  of  this element in
    <VERB> x</VERB>, as a 2-vector.</P>
    <P><VERB>m=nanmin(x,'r') </VERB> gives in the 1xsize(x,2) matrix 
    <VERB>m</VERB> the largest elements  (ignoring  the NANs) of  each
    column  of     <VERB>    x</VERB>.     If  the  form      
    <VERB> [m,index]=nanmin(x,'r') </VERB> is  used, the  elements of the
    1xsize(x,2) matrix  index are  the indexes of  the largest
    elements (ignoring the NANs)  of each column  of x  in the
    corresponding column.</P>
    <P>
    m=nanmin(x,'c')  gives  in  the size(x,2)x1  matrix  m the
    largest elements (ignoring the NANs) of each row of x.  If
    the form  [m,index]=nanmin(x,'c') is used, the elements of
    the size(x,2)x1   matrix  index are   the  indexes  of the
    largest elements  (ignoring the NANs) of  each row of x in
    the corresponding row.</P>
    <P>
    In Labostat, NAN values stand for missing values in tables.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918]
m=nanmin(x)
m=nanmin(x,'r')
m=nanmin(x,'c')
 ]]>
  </EXAMPLE>
  <AUTHOR> Carlos Klimann</AUTHOR>
  <BIBLIO>
    <P>
    Wonacott, T.H. &amp; Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley &amp; Sons, 1990.</P>
  </BIBLIO>
</MAN>
