Re: [R] How to create these variables in R?

2016-06-28 Thread Duncan Murdoch
On 28/06/2016 7:34 AM, Faradj Koliev wrote: Dear all, Let’s say that I have a dataset that looks something like this: Subject YearA A 19901 A 19911 A 19921 A 19931 A 19940 A 19950 B 19901 B 19910 B 1992

[R] How to create these variables in R?

2016-06-28 Thread Faradj Koliev
Dear all, Let’s say that I have a dataset that looks something like this: Subject YearA A 19901 A 19911 A 19921 A 19931 A 19940 A 19950 B 19901 B 19910 B 19921 B 19