Dear R developers,
Could you, please, point me to the source file containing the implementation of
NA values?
Thank you
Stephen Bond
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/list
Hi all,
I forgot to test my patch! I fixed a few bugs.
Cheers,
Andrew
On 22 March 2010 22:53, Andrew Clausen wrote:
> Hi all,
>
> sample() has some well-documented undesirable behaviour.
>
> sample(1:6, 1)
> sample(2:6, 1)
> ...
> sample(5:6, 1)
>
> do what you expect, but
>
> sample(6:6, 1)
>
Hi,
I need some help to get some of the object orientation, specifically the
methods that overload the basic arithmetic operations, from sample C++
code to R. I don't have experience with such advanced language features
inside of R. So I was wondering if some of you could help me out in this
regar
Hi all,
sample() has some well-documented undesirable behaviour.
sample(1:6, 1)
sample(2:6, 1)
...
sample(5:6, 1)
do what you expect, but
sample(6:6, 1)
sample(1:6, 1)
do the same thing.
This behaviour is documented:
If 'x' has length 1, is numeric (in the sense of 'is.numeric') and