Re: [R] How to menage decimals in order to obtain accurate estimates

2013-02-06 Thread S Ellison
> I've checked my iteration loop with other dataset, i've not > problems with integer numbers or other dataset with decimals > but not all decimals dataset. Any R data set that is 'not all decimals' will be represented internally as floating point* (eg c(1, 2, 3, 1.5) consists of four floating

Re: [R] How to menage decimals in order to obtain accurate estimates

2013-02-06 Thread mary
I've checked my iteration loop with other dataset, i've not problems with integer numbers or other dataset with decimals but not all decimals dataset. I would like it works with all type of data. Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-menage-decimals-in-or

Re: [R] How to menage decimals in order to obtain accurate estimates

2013-02-06 Thread Jim Lemon
On 02/06/2013 07:51 PM, mary wrote: I'm sorry, I have a data set contains numbers with more decimal places, the data are available in R "data (milk)". I made a loop to get a robust correlation matrix but in calculations, decimals cause me problems ( especially I do not know how R rounds numbe

Re: [R] How to menage decimals in order to obtain accurate estimates

2013-02-06 Thread mary
I'm sorry, I have a data set contains numbers with more decimal places, the data are available in R "data (milk)". I made a loop to get a robust correlation matrix but in calculations, decimals cause me problems ( especially I do not know how R rounds numbers by default) so the diagonal should

Re: [R] How to menage decimals in order to obtain accurate estimates

2013-02-05 Thread Jim Lemon
On 02/06/2013 10:40 AM, mary wrote: Hi, I'm trying to calculate some functions loop, unfortunately my data are decimal numbers that not allow me to get an accurate estimate. I do not want to use neither "round "nor "signif" but I would prefer to have all the information available, (the function

[R] How to menage decimals in order to obtain accurate estimates

2013-02-05 Thread mary
Hi, I'm trying to calculate some functions loop, unfortunately my data are decimal numbers that not allow me to get an accurate estimate. I do not want to use neither "round "nor "signif" but I would prefer to have all the information available, (the function loop is generic so you should adapt to