search for: n3643658

Displaying 1 result from an estimated 1 matches for "n3643658".

Did you mean: 63.43658
2011 Jul 04
2
I need help for creating a "timevar"
...that one possibility is the ?reshape? command, which needs a ?timevar?. Data look as follows: There are approx. 3000 persons (?IDENTITY?) and, for each person, there are between 2 and 20 events (?EVENT?). For now, there's one row for each event (9506 rows) http://r.789695.n4.nabble.com/file/n3643658/Screenshot-2.png What is missing is the ?timevar? (SPSS calls it ?INDEX?), which numbers the events WITHIN each person (right column). I managed to number the events from 1 to 9506 with the seq-command, first writing the number of rows in nEVENT: > number <-seq(file=event, 1, nEVENT, b=1)...