Skip to content
Snippets Groups Projects
Commit d5bd653f authored by wbonat's avatar wbonat
Browse files

Include the data set in the mcglm object

parent 795926bf
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,7 @@ mcglm <- function(linear_pred, matrix_pred, link, variance, covariance, offset, ...@@ -114,6 +114,7 @@ mcglm <- function(linear_pred, matrix_pred, link, variance, covariance, offset,
model_fit$offset <- offset model_fit$offset <- offset
model_fit$power_fixed model_fit$power_fixed
model_fit$sparse <- sparse model_fit$sparse <- sparse
model_fit$data <- data
class(model_fit) <- "mcglm" class(model_fit) <- "mcglm"
} }
return(model_fit) return(model_fit)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment