Dear R users,

I was wondering if anyone knows how to obtain(subset) the first and/or the
last record of a subject in a longitudinal setup.

Normally in SAS one uses first.variable1 and last.variable1. So my question
is that is there an R way of doing this.

Regards,

-- 
Luwis Diya, Phd student (Biostatistics),
Biostatistical Center,
School Of Public Health,
Catholic University of Leuven,
U.Z. St Raphael,
Kapucijnenvoer 35,
B-3000 Leuven,
Belgium,

Cell: +32(0)497 22 94 83
Phone:+32(0)16 32 68 86 [Office]
Phone:+32(0)16 32 98 76 [Home]
Fax: +32(0)16 33 70 15

Email: luwis.diya@med.kuleuven.be
http://med.kuleuven.be/biostat/staff/LD.htm

	[[alternative HTML version deleted]]

