Displaying 1 result from an estimated 1 matches for "tot_rdm_amt".
2008 Sep 26
1
Error in Cut command - 'x' must be numeric?
...bucket into deciles. Have been trying (without) success to use cut and using online help to understand my error. Here is my code to read in a few sample rows. I want to then create deciles by this variable
> a<-read.csv("c:/temp/petrol.csv",header=TRUE,sep=",")
> a
tot_rdm_amt
1 40.15
2 332.65
3 533.37
4 225.54
5 503.89
6 161.57
7 266.61
8 100.50
9 268.81
10 593.86
11 306.27
12 303.43
13 308.09
14 802.36
15 271.51
16 479.99
17 170.00
18 467.08
19 637.10
> b<-cut...