print.gom_ml | R Documentation |
gom_ml
objectsPrint method for an objects of class gom_ml.
## S3 method for class 'gom_ml' print(x, k = NULL, ...)
x |
An object with class gom_ml. |
k |
Number indicating the pure type result to be printed. |
... |
Further arguments passed to or from other methods. |
Prints the descriptive table inside the gom_ml object along with the likelihood and AIC for the desired pure type set. If k is NULL (default), it chooses the model with the smallest AIC.
No return value.
data <- data.frame(x1 = round(stats::runif(n = 50, 1, 2), 0), x2 = round(stats::runif(n = 50, 1, 2), 0), x3 = round(stats::runif(n = 50, 1, 2), 0), Id = 1:50) model <- gom::gom_ml(data.object = data, case.id = "Id", initial.lambda = "random", MC_iter = 150) print(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.