? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120222/a28536ba/attachment.pl>
Sarah Goslee
2012-Feb-22 19:26 UTC
[R] Multiple lines for each record: how do I handle that
If you provide a small reproducible example of your data format and expected output, I'm sure someone here can offer a useful solution. Without knowing what your data look like, not so easy. Sarah On Wed, Feb 22, 2012 at 2:22 PM, Luca Meyer <lucam1968 at gmail.com> wrote:> Hi Folks, > > I just discovered that my dataset (coming from QuestionPro platform) has got multiple lines for each respondent id, but what I would really need is a "regular" data matrix where each respondent's data is shown on a single line. > > Does anyone has already develop a procedure that automatically takes the multiple lines and aggregates them into a single line? > > Thank you in advance, > Luca > > Mr. Luca Meyer > www.lucameyer.com > R version 2.14.1 (2011-12-22) > Mac OS X 10.6.8 > >-- Sarah Goslee http://www.functionaldiversity.org