Many thanks Jim.
This is the others kind of a random row which I can use.
Best wishes,
Jan Sabee
> Assumptions:
> 1) the object is a data frame.
> 2) all variables are factors (although I have CMA).
> 3) you want a list containing vectors of the levels for each value in
> which the first level is
Jan Sabee wrote:
Dear useR help,
This is below my toy dataset,
age married income gender
young nolow female
old yeslow female
mid no high female
young yes high female
mid yes high female
mid no medium female
old no medium female
you
"yes", "medium", "male"))
>
> Best,
> Dimitris
>
>
> Dimitris Rizopoulos
> Ph.D. Student
> Biostatistical Centre
> School of Public Health
> Catholic University of Leuven
>
> Address: Kapucijnenvoer 35, Leuven, Belgium
> T
6899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
- Original Message -
From: "Jan Sabee" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 20, 2005 10:46 AM
Subject: [R] Put one random row dataset t
Dear useR help,
This is below my toy dataset,
age married income gender
young nolow female
old yeslow female
mid no high female
young yes high female
mid yes high female
mid no medium female
old no medium female
young yes mediu