[R] and now a "cut" question
Erin Hodgess
erinm.hodgess at gmail.com
Tue Jun 21 02:46:01 CEST 2011
Hello again R People:
I have the following:
> xm1[,1]
[1] 13053 13068 13068 13053 14853 14853 14850 14850 13053 13053 13068 13068
> cut(xm1[,1],4)
[1] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04]
[4] (1.31e+04,1.35e+04] (1.44e+04,1.49e+04] (1.44e+04,1.49e+04]
[7] (1.44e+04,1.49e+04] (1.44e+04,1.49e+04] (1.31e+04,1.35e+04]
[10] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04] (1.31e+04,1.35e+04]
4 Levels: (1.31e+04,1.35e+04] (1.35e+04,1.4e+04] ... (1.44e+04,1.49e+04]
>
Is there any way to have the levels print as 13100, 13500, etc., please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help
mailing list