You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hope you are doing well. I am trying to run a negative binomial regression using "RegParallel." I am getting the error "FUNtype not recognised. Choose one of glm, lm, coxph, clogit, or bayesglm." The package documentation lists glm.nb() as one of the supported functions. Could you please help me understand why this error is occurring? I have included my code below:
res <- RegParallel(
data = data,
formula = 'response ~ .',
FUN = function(formula, data)
glm.nb(formula = formula,
data = data),
FUNtype = 'glm.nb',
variables = colnames(data),
p.adjust = "none",
blocksize = 5,
cores = 2)
Thank you for your time.
Kind Regards,
Suhas
The text was updated successfully, but these errors were encountered:
Hello Kevin,
Hope you are doing well. I am trying to run a negative binomial regression using "RegParallel." I am getting the error "FUNtype not recognised. Choose one of glm, lm, coxph, clogit, or bayesglm." The package documentation lists glm.nb() as one of the supported functions. Could you please help me understand why this error is occurring? I have included my code below:
res <- RegParallel(
data = data,
formula = 'response ~ .',
FUN = function(formula, data)
glm.nb(formula = formula,
data = data),
FUNtype = 'glm.nb',
variables = colnames(data),
p.adjust = "none",
blocksize = 5,
cores = 2)
Thank you for your time.
Kind Regards,
Suhas
The text was updated successfully, but these errors were encountered: