Displaying 1 result from an estimated 1 matches for "testsummary".
Did you mean:
test_summary
2012 Dec 29
0
thanks -- Re: syntax for identifying more than one
..."id" and for each level of "year."? I'm trying to generate these descriptive stats for each *combination* of "id" and "year."? I could do that in SAS with the following code
proc means mean std n data=test;
? by id year;
? var incidents;
? output out = testsummary
? ? ? mean = mnincidents
? ? ? std = sdincidents
? ? ? n = nincidnets;
proc print data=testsummary;
Again, thanks for responding to the posted question.
Best wishes,
Greg
<quote author='arun kirshna'>
HI,
You could try that in a list if that is okay.
test<-read.table(text="...