Displaying 2 results from an estimated 2 matches for "current_index".
2011 Sep 22
2
Numbering entries for each subject
...<- data.frame(ID=c('A','A','A','A','B','B','B', 'C','C','C','C','C'))
ID
1 A
2 A
3 A
4 A
5 B
6 B
7 B
8 C
9 C
10 C
11 C
12 C
A$Session_ID <- 0
previous_ID <- ''
current_index <- 1
for ( i in seq(1,nrow(A)) )
{
if (A$ID[i] != previous_ID)
{current_index <- 1}
A$Session_ID[i] <- current_index
previous_ID <- A$ID[i]
current_index <- current_index + 1
}
ID Session_ID
1 A 1
2 A 2
3 A 3
4 A 4
5 B...
2004 Jul 14
1
Rsync Problems, Possible Addressed Bug?
...ation.
-= Beginning backups for figaro
receiving file list ... done
mailman/archives/private/faculty-announce/
mailman/locks/
www/html/tools/labs/
etc/mail/statistics
mailman/archives/private/faculty-announce/2004-July.txt.gz
www/html/syllabus/temp/MUSI_1810_zerkeld_200108.pdf
www/html/tools/labs/current_index.php
rsync[6805] (receiver) heap statistics:
arena: 6544744 (bytes from sbrk)
ordblks: 2673 (chunks not in use)
smblks: 1
hblks: 1 (chunks from mmap)
hblkhd: 258048 (bytes from mmap)
usmblks: 0
fsmblks:...