Description Usage Arguments Value Examples
Auxiliary function for dglm
fitting.
Typically only used internally by dglm.fit
, but may be
used to construct a control
argument to either function.
1 2 | dglm.control(epsilon = 1e-08, maxit = 25, trace = FALSE,
rigorous = FALSE)
|
epsilon |
It is used to adjust desired accuracy of the result. |
maxit |
It is the maximu, number of iterations before achieving the desired accuracy. |
trace |
When this argument is true, intermediate steps of the progress are displayed. |
rigorous |
When this argument is true, some extra checks are performed during fitting procedure. For example, mu and eta may be validating in each iteration to check if the fitted values are outside of the domain. Usually these checks are time consuming; therefore, the default value for this argument is FALSE. |
A list with components named as the arguments.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(glm.ddR)
Y <- as.darray(as.matrix(mtcars$am),c(ceiling(length(mtcars$am)/4),1))
X <- as.darray(as.matrix(cbind(mtcars$wt,mtcars$hp)),
c(ceiling(length(mtcars$hp)/4),2))
myModel <- dglm(Y, X, binomial, control=list(epsilon=1e-02, maxit=5,
trace=FALSE, rigorous=TRUE))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.