Skip to content
Prev 301261 / 398503 Next

Simple question on finding duplicates

duplicate <- ifelse(c(0, a$col[-length(a$col)])==c(a$col), 1, 0)

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352