[R] Min , Max

David Winsemius dwinsemius at comcast.net
Sat Apr 28 20:53:41 CEST 2012


On Apr 28, 2012, at 11:51 AM, Jonsson wrote:

> Dear David, I think you meant

tm[ta[i],tb[i]]= round(10 * mean(D[((d-1)*8 + 1:8),i]-273.15))  not

tm[ta[i],tb[i]]= round(10 * mean(D[((d-1)*8 + 1:8)-273.15),  
i]-273.15)) .
>
> As you can see  in the code above.I want to save the results as
> integer(16bit) thats why  I multiplied by 10(as factor),in order to  
> keep one
> dice-mil . Because I will later divide by 10.for example if I got 25  
> so this
> means 2.5. Thats why I used round.


Yes that is what I meant.

-- 
David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list