jim holtman gmail.com> writes:
...
Thanks Jim,
very useful your information,
Sergio.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and pro
Duncan Murdoch gmail.com> writes:
...
Thanks Duncan!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-c
In stepping through 'cut.default' that is called, I get the following interval:
-0.008 0.994 1.996 2.998 4.000 5.002 6.004 7.006 8.008
In printing out to three significant digits, you will have "(0.994,
2]" or "(2,3]" as you see in the factors.
If instead you used:
cut(x, b = 8, dig.l
On 11-11-07 7:48 PM, JulioSergio wrote:
When I was studying the function cut I found this example:
x<- rep(0:8, tx0)
x
[1] 0 0 0 0 0 0 0 0 0 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 4 4 4 5 5 5 5 5 5
5 5 5 5 6
[39] 6 6 6 6 7 7 7 8 8 8 8 8
cut(x, b = 8)
[1] (-0.008,0.994] (-0.008,0.994] (-0.008,0.9
When I was studying the function cut I found this example:
> x <- rep(0:8, tx0)
> x
[1] 0 0 0 0 0 0 0 0 0 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 4 4 4 5 5 5 5 5 5
5 5 5 5 6
[39] 6 6 6 6 7 7 7 8 8 8 8 8
> cut(x, b = 8)
[1] (-0.008,0.994] (-0.008,0.994] (-0.008,0.994] (-0.008,0.994]
(-0.008,0.994]
[6]
5 matches
Mail list logo