[R] Type of multi-valued variable
Frank E Harrell Jr
fharrell at virginia.edu
Mon Feb 10 22:23:03 CET 2003
On Mon, 10 Feb 2003 21:51:50 +0100
Fan <xiao.gang.fan1 at libertysurf.fr> wrote:
> Hi,
>
> I've read in the past a thead in the R discussion list
> about the multi-valued type variable (what was called checklist).
> At the moment Gregory had intention to add some general code
> in his gregmisc package.
>
> I'm wondering if there's some general code / packages available ?
>
> A general class for taking account this type of variable
> would be very useful in the domain of survey processings,
> as multi-responses questions are often used.
> The simple operations applied to these variables are holecount,
> cross tabulations with others variables, transformation to single
> coded variables like number of responses, etc.
>
> Thanks in advance for any help
> --
> Fan
>
Fan, Take a look at p. 38-44 of http://hesweb1.med.virginia.edu/biostat/s/doc/summary.pdf where examples of the mChoice (multiple choice) function in Hmisc are given.
--
Frank E Harrell Jr Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine http://hesweb1.med.virginia.edu/biostat
More information about the R-help
mailing list