[R] Indexing Question

2003-10-09 Thread Nathan Cooper
I have an indexing question. I have a data set that looks like this: b [[1]] [1] 22 23 24 25 26 [[2]] [1] 6 7 8 9 NA etc. from [[1]] to [[1000]] Then I need to use the sample function to take two samples from b[[1]] to b[[1000]] each separately. I thought something like

[R] A re-sampling problem

2003-09-26 Thread Nathan Cooper
I plan on analyzing some bird point count data. I need to develop a re-sampling regime for data like this. I used scan(file=Sample.txt,what=list(0,0,0,0,0,0),sep=\t) [[1]] [1] 1 2 3 4 5 [[2]] [1] 6 7 8 9 NA [[3]] [1] 10 11 12 13 NA [[4]] [1] 14 15 16 NA NA [[5]] [1] 17 18 19 20 21 Each row

[R] Sampling With R

2003-09-18 Thread Nathan Cooper
? Thanks much, Nathan Cooper Utah Division of Wildlife Resources [EMAIL PROTECTED] _ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon