This is the code for GLM. There are two functions. "eagle.glm.single" is the GLM on single reporter. "eagle.glm.array" run "eagle.glm.single" across all the reporters with and without covariate adjustment. Java can simply call "eagle.glm.array" by inputing subject id, group id and covariate values. It returns a data frame of the p value before and after adjustment.
This is the code for GLM.
There are two functions. "eagle.glm.single" is the GLM on single reporter. "eagle.glm.array" run "eagle.glm.single" across all the reporters with and without covariate adjustment.
Java can simply call "eagle.glm.array" by inputing subject id, group id and covariate values. It returns a data frame of the p value before and after adjustment.


SVN-Revision: 12057

NCIP/stats-analysis-server,NCIP/stats-analysis-server,NCIP/stats-analysis-server