Displaying 5 results from an estimated 5 matches for "332561".
Did you mean:
32561
2018 Sep 20
3
A different error in sample()
Good day,
The use of "rounding" also doesn't make sense. If The number is halfway between two integers, it is rounded to the nearest even integer.
> round(2.5)
[1] 2
--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
2018 Sep 20
2
A different error in sample()
..., there is
> something peculiar going on with the fractional part of n:
>
> > table(sample.int(2.5, 1e6, replace = TRUE))
>
> ???? 1????? 2????? 3
> 399051 401035 199914
>
> > table(sample.int(3, 1e6, replace = TRUE))
>
> ???? 1????? 2????? 3
> 332956 332561 334483
>
> > table(sample.int(2.01, 1e6, replace = TRUE))
>
> ???? 1????? 2????? 3
> 497173 497866?? 4961
>
> > sessionInfo()
> R Under development (unstable) (2018-09-17 r75319)
> Platform: x86_64-apple-darwin17.7.0 (64-bit)
> Running under: macOS High Sie...
2018 Sep 20
0
A different error in sample()
...wording of the documentation re truncating vs rounding, there
is something peculiar going on with the fractional part of n:
> table(sample.int(2.5, 1e6, replace = TRUE))
1 2 3
399051 401035 199914
> table(sample.int(3, 1e6, replace = TRUE))
1 2 3
332956 332561 334483
> table(sample.int(2.01, 1e6, replace = TRUE))
1 2 3
497173 497866 4961
> sessionInfo()
R Under development (unstable) (2018-09-17 r75319)
Platform: x86_64-apple-darwin17.7.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS: /Users...
2018 Sep 20
0
A different error in sample()
...gt; fractional part of n:
>>
>> > table(sample.int(2.5, 1e6, replace = TRUE))
>>
>> ???? 1????? 2????? 3 399051 401035 199914
>>
>> > table(sample.int(3, 1e6, replace = TRUE))
>>
>> ???? 1????? 2????? 3 332956 332561 334483
>>
>> > table(sample.int(2.01, 1e6, replace = TRUE))
>>
>> ???? 1????? 2????? 3 497173 497866?? 4961
>>
2005 Oct 06
0
how to handle missing values in the data?
Hello Everybody,
I am reffering David Meyer's Benchmarking Support Vector Machines ,
Report No.78 (Nov.2002), i am newly working with R but i am not sure how
it is handling missing values in the benchmark datasets, I would be very
thankful to you if you could let me know how to handle those missing
numerical & categorical variables in the data (e.g. BreastCancer).
because, i am