[R] Nested structure data simulation
djnord|und @end|ng |rom gm@||@com
Sat May 18 22:26:14 CEST 2019
On 5/18/2019 1:03 PM, varin sacha via R-help wrote:
> Dear Boris,
> Yes, top-down, no problem. Many thanks, but in your code did you not forget "teacher" ? As a reminder teacher has to be nested with classes. I mean the 50 pupils belonging to C1 must be with (teacher 1) T1, the 50 pupils belonging to C2 with T2, the 50 pupils belonging to C3 with T3 and so on.
> Le samedi 18 mai 2019 à 16:52:48 UTC+2, Boris Steipe <boris.steipe using utoronto.ca> a écrit :
Given your design, you cannot distinguish between class and teacher.
They are one and the same thing. It doesn't make sense to include both
in your model.
Port Townsend, WA USA
More information about the R-help