Dear All:

How to split a column data *randomly* into three groups. Please see the
attached data. I need to split column #2 titled "Data"

with many thanks
abou
______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor, Statistics and Data Science*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*
ID Data
1       366
2       394
3       222
4       396
5       399
6       158
7       361
8       426
9       255
10      32
11      31
12      53
13      377
14      405
15      448
16      362
17      260
18      90
19      95
20      8
21      385
22      306
23      154
24      345
25      136
26      39
27      472
28      19
29      404
30      463
31      134
32      72
33      477
34      22
35      240
36      389
37      482
38      287
39      180
40      140
41      456
42      403
43      81
44      425
45      57
46      251
47      421
48      343
49      310
50      62
51      412
52      93
53      111
54      148
55      311
56      430
57      12
58      100
59      437
60      363
61      126
62      367
63      165
64      272
65      171
66      167
67      234
68      113
69      315
70      175
71      484
72      379
73      474
74      216
75      250
76      177
77      293
78      133
79      203
80      408
81      150
82      155
83      223
84      381
85      336
86      368
87      290
88      359
89      333
90      219
91      455
92      427
93      444
94      178
95      302
96      221
97      248
98      160
99      304
100     56
101     25
102     400
103     485
104     89
105     254
106     186
107     283
108     431
109     188
110     354
111     119
112     67
113     415
114     346
115     319
116     344
117     121
118     34
119     288
120     416
121     308
122     340
123     166
124     443
125     388
126     286
127     245
128     406
129     253
130     395
131     274
132     428
133     329
134     410
135     127
136     420
137     187
138     244
139     125
140     137
141     206
142     205
143     327
144     211
145     7
146     192
147     317
148     60
149     54
150     4
151     434
152     233
153     47
154     280
155     76
156     398
157     320
158     347
159     453
160     465
161     382
162     476
163     213
164     418
165     409
166     230
167     3
168     229
169     436
170     262
171     77
172     207
173     118
174     99
175     243
176     27
177     479
178     438
179     152
180     109
181     330
182     17
183     179
184     323
185     124
186     296
187     435
188     225
189     128
190     84
191     316
192     195
193     74
194     138
195     149
196     63
197     249
198     104
199     35
200     228
201     44
202     275
203     259
204     356
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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-contained, reproducible code.

Reply via email to