RegParallel icon indicating copy to clipboard operation
RegParallel copied to clipboard

svyglm not working due to minor error

Open s7u512 opened this issue 2 years ago • 0 comments

svyglm does not work because of minor code error.

In RegParallel.R file, at line 175, there is a minor error: the option 'svyglm' is missing in:


if (!any((FUNtype %in% c('glm', 'lm', 'coxph', 'clogit', 'bayesglm')) == TRUE)) {   

I request that this be corrected to include 'svyglm':


  if (!any((FUNtype %in% c('glm', 'lm', 'coxph', 'clogit', 'bayesglm', 'svyglm')) == TRUE)) {

As otherwise the function stops here when FUNtype is specified as svyglm and RegParallel can actually take it.

s7u512 avatar Oct 11 '23 21:10 s7u512