Find the maximum value in each row in a matrix that includes NAs
<p>I am trying to find the maximum value in each row in a matrix in r when the matrix includes NA's.</p>

<p>I tried to use the function rowMax() from the "qlcMatrix" package, but it doesn't handle NA's (it gives me back "NA" if the row contain at least one NA value).</p>