Skip to content
Prev 77347 / 398502 Next

Replicate

look at ?unique(), e.g.,

x <- c(1, 1, 1, 2, 2, 2, 3, 3, 3, 3)
unique(x)


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Marc Bernard" <bernarduse1 at yahoo.fr>
To: <r-help at stat.math.ethz.ch>
Sent: Friday, September 16, 2005 4:38 PM
Subject: [R] Replicate
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm