{
  "_id": "6ad9cc5f021a938ed758eaa9",
  "Package": "MGLM",
  "Version": "0.2.3",
  "Date": "2026-08-23",
  "Title": "Multivariate Response Generalized Linear Models",
  "Authors@R": "c(\nperson(\"Yiwen\", \"Zhang\", email = \"zhangyiwen1015@gmail.com\", role = c(\"aut\")),\nperson(\"Hua\", \"Zhou\", email = \"huazhou@ucla.edu\", role = c(\"aut\")),\nperson(\"Juhyun\", \"Kim\", email = \"juhkim111@ucla.edu\", role = c(\"cre\")),\nperson(\"Magdalena\", \"Czapiewska\", role = c(\"ctb\"),\ncomment = c(ORCID = \"0009-0004-3265-1614\"))\n)",
  "Description": "Provides functions that (1) fit multivariate discrete\ndistributions, (2) generate random numbers from multivariate\ndiscrete distributions, and (3) run regression and penalized\nregression on the multivariate categorical response data.\nImplemented models include: multinomial logit model, Dirichlet\nmultinomial model, generalized Dirichlet multinomial model, and\nnegative multinomial model. Making the best of the\nminorization-maximization (MM) algorithm and Newton-Raphson\nmethod, we derive and implement stable and efficient algorithms\nto find the maximum likelihood estimates. On a multi-core\nmachine, multi-threading is supported.",
  "VignetteBuilder": "knitr",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.1.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-22 08:38:07 UTC",
    "User": "root"
  },
  "Author": "Yiwen Zhang [aut], Hua Zhou [aut], Juhyun Kim [cre], Magdalena\nCzapiewska [ctb] (ORCID:\n<https://orcid.org/0009-0004-3265-1614>)",
  "Maintainer": "Juhyun Kim <juhkim111@ucla.edu>",
  "Repository": "https://juhyun-kim-ucla.r-universe.dev",
  "Date/Publication": "2026-08-23 20:43:43 UTC",
  "RemoteUrl": "https://github.com/cran/MGLM",
  "RemoteRef": "HEAD",
  "RemoteSha": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
  "_user": "juhyun-kim-ucla",
  "_type": "src",
  "_file": "MGLM_0.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/ff8898f30a5db4df7bbab10cd66001098b079647a2c63fe45f9f1ca2034e82bf",
  "_filesize": 380899,
  "_sha256": "ff8898f30a5db4df7bbab10cd66001098b079647a2c63fe45f9f1ca2034e82bf",
  "_expires": "2027-01-30T08:42:05.000Z",
  "_created": "2026-10-22T08:38:07.000Z",
  "_published": "2026-10-22T08:42:07.115Z",
  "_upstream": "https://github.com/cran/MGLM",
  "_status": "success",
  "_maintainer": {
    "name": "Juhyun Kim",
    "email": "juhkim111@ucla.edu",
    "login": "juhyun-kim-ucla",
    "description": "\n",
    "uuid": 26255646
  },
  "_jobs": [
    {
      "job": 119725354404,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12412533110"
    },
    {
      "job": 119725354308,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412672888"
    },
    {
      "job": 119725354359,
      "time": 195,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12412658163"
    },
    {
      "job": 119725354297,
      "time": 191,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412263990"
    },
    {
      "job": 119724129163,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412766709"
    },
    {
      "job": 119725354241,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12412762429"
    },
    {
      "job": 119725354318,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12413026487"
    },
    {
      "job": 119725354469,
      "time": 76,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12412573104"
    },
    {
      "job": 119725354546,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12413102549"
    }
  ],
  "_buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226",
  "_commit": {
    "id": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
    "author": "Juhyun Kim <juhkim111@ucla.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.3\n",
    "time": 1787517823
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "plyr",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.3",
      "date": "2026-08-23"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "juhyun-kim-ucla",
      "count": 5,
      "uuid": 26255646
    }
  ],
  "_userbio": {
    "uuid": 26255646,
    "type": "user",
    "name": "Juhyun Kim ",
    "followers": 0
  },
  "_downloads": {
    "count": 2356,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MGLM"
  },
  "_mentions": 7,
  "_searchresults": 131,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MGLM.html",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "juhyun-kim-ucla",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2013-09-25"
    },
    {
      "version": "0.0.2",
      "date": "2013-11-07"
    },
    {
      "version": "0.0.3",
      "date": "2014-01-05"
    },
    {
      "version": "0.0.4",
      "date": "2014-02-23"
    },
    {
      "version": "0.0.5",
      "date": "2014-04-25"
    },
    {
      "version": "0.0.6",
      "date": "2014-04-27"
    },
    {
      "version": "0.0.7",
      "date": "2016-02-17"
    },
    {
      "version": "0.0.8",
      "date": "2017-03-27"
    },
    {
      "version": "0.0.9",
      "date": "2018-01-14"
    },
    {
      "version": "0.1.0",
      "date": "2018-01-21"
    },
    {
      "version": "0.2.0",
      "date": "2018-10-19"
    },
    {
      "version": "0.2.1",
      "date": "2022-04-14"
    },
    {
      "version": "0.2.3",
      "date": "2026-08-23"
    }
  ],
  "_exports": [
    "AIC",
    "BIC",
    "coef",
    "ddirm",
    "ddirmn",
    "dgdirm",
    "dgdirmn",
    "dmn",
    "dmultn",
    "dneg",
    "dnegmn",
    "dof",
    "kr",
    "logLik",
    "maxlambda",
    "MGLMfit",
    "MGLMreg",
    "MGLMreg.fit",
    "MGLMsparsereg",
    "MGLMsparsereg.fit",
    "MGLMtune",
    "path",
    "predict",
    "rdirm",
    "rdirmn",
    "rgdirm",
    "rgdirmn",
    "rmn",
    "rnegmn",
    "show"
  ],
  "_datasets": [
    {
      "name": "rnaseq",
      "title": "RNA-seq count data",
      "object": "rnaseq",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X1",
        "X2",
        "X3",
        "X4",
        "X5",
        "X6",
        "totalReads",
        "treatment",
        "gender",
        "age"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MGLM-package",
      "title": "MGLM: A package for multivariate response generalized linear models",
      "topics": [
        "MGLM-package"
      ]
    },
    {
      "page": "AIC",
      "title": "Akaike's Information Criterion (AIC)",
      "topics": [
        "AIC",
        "AIC,MGLMfit-method",
        "AIC,MGLMreg-method",
        "AIC,MGLMsparsereg-method",
        "AIC,MGLMtune-method"
      ]
    },
    {
      "page": "BIC",
      "title": "Bayesian information criterion (BIC)",
      "topics": [
        "BIC",
        "BIC,MGLMfit-method",
        "BIC,MGLMreg-method",
        "BIC,MGLMsparsereg-method",
        "BIC,MGLMtune-method"
      ]
    },
    {
      "page": "coef",
      "title": "Extract Model Coefficients",
      "topics": [
        "coef",
        "coef,MGLMfit-method",
        "coef,MGLMreg-method",
        "coef,MGLMsparsereg-method",
        "coef,MGLMtune-method"
      ]
    },
    {
      "page": "dist",
      "title": "Details of the distributions",
      "topics": [
        "dist"
      ]
    },
    {
      "page": "MGLMfit",
      "title": "Fit multivariate discrete distributions",
      "topics": [
        "DMD.DM.fit",
        "DMD.GDM.fit",
        "DMD.NegMN.fit",
        "MGLMfit"
      ]
    },
    {
      "page": "dof",
      "title": "Extract degrees of freedom",
      "topics": [
        "dof",
        "dof,MGLMsparsereg-method"
      ]
    },
    {
      "page": "kr",
      "title": "Khatri-Rao product of two matrices",
      "topics": [
        "kr"
      ]
    },
    {
      "page": "logLik",
      "title": "Extract log-likelihood",
      "topics": [
        "logLik",
        "logLik,MGLMfit-method",
        "logLik,MGLMreg-method",
        "logLik,MGLMsparsereg-method"
      ]
    },
    {
      "page": "maxlambda",
      "title": "Extract maximum lambda",
      "topics": [
        "maxlambda",
        "maxlambda,MGLMsparsereg-method"
      ]
    },
    {
      "page": "MGLM-deprecated",
      "title": "Deprecated function(s) in the MGLM package",
      "topics": [
        "ddirm",
        "dgdirm",
        "dneg",
        "MGLM-deprecated",
        "rdirm",
        "rgdirm"
      ]
    },
    {
      "page": "MGLMfit-class",
      "title": "Class '\"MGLMfit\"'",
      "topics": [
        "MGLMfit-class"
      ]
    },
    {
      "page": "MGLMreg",
      "title": "Fit multivariate response GLM regression",
      "topics": [
        "MGLMreg",
        "MGLMreg.fit"
      ]
    },
    {
      "page": "MGLMreg-class",
      "title": "Class '\"MGLMreg\"'",
      "topics": [
        "MGLMreg-class"
      ]
    },
    {
      "page": "MGLMsparsereg",
      "title": "Fit multivariate GLM sparse regression",
      "topics": [
        "MGLMsparsereg",
        "MGLMsparsereg.fit"
      ]
    },
    {
      "page": "MGLMsparsereg-class",
      "title": "Class '\"MGLMsparsereg\"'",
      "topics": [
        "MGLMsparsereg-class"
      ]
    },
    {
      "page": "MGLMtune",
      "title": "Choose the tuning parameter value in sparse regression",
      "topics": [
        "MGLMtune"
      ]
    },
    {
      "page": "MGLMtune-class",
      "title": "Class '\"MGLMtune\"'",
      "topics": [
        "MGLMtune-class"
      ]
    },
    {
      "page": "path",
      "title": "Extract path",
      "topics": [
        "path",
        "path,MGLMtune-method"
      ]
    },
    {
      "page": "predict",
      "title": "Predict method for MGLM Fits",
      "topics": [
        "predict",
        "predict,MGLMreg",
        "predict,MGLMreg,ANY-method",
        "predict,MGLMreg-method"
      ]
    },
    {
      "page": "dirmn",
      "title": "The Dirichlet Multinomial Distribution",
      "topics": [
        "ddirmn",
        "dirmn",
        "rdirmn"
      ]
    },
    {
      "page": "gdirmn",
      "title": "The Generalized Dirichlet Multinomial Distribution",
      "topics": [
        "dgdirmn",
        "gdirmn",
        "rgdirmn"
      ]
    },
    {
      "page": "mn",
      "title": "The Multinomial Distribution",
      "topics": [
        "dmn",
        "mn",
        "rmn"
      ]
    },
    {
      "page": "rnaseq",
      "title": "RNA-seq count data",
      "topics": [
        "rnaseq"
      ]
    },
    {
      "page": "negmn",
      "title": "The Negative Multinomial Distribution",
      "topics": [
        "dnegmn",
        "negmn",
        "rnegmn"
      ]
    },
    {
      "page": "show",
      "title": "Show an object",
      "topics": [
        "show",
        "show,MGLMfit-method",
        "show,MGLMreg-method",
        "show,MGLMsparsereg-method",
        "show,MGLMtune-method"
      ]
    }
  ],
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "mglm_vignette.rmd",
      "filename": "mglm_vignette.html",
      "title": "MGLM Vignette",
      "author": "Yiwen Zhang and Hua Zhou",
      "engine": "knitr::knitr",
      "headings": [
        "Distribution fitting",
        "Multinomial (MN)",
        "Dirichlet-multinomial (DM)",
        "Generalized Dirichlet-multinomial (GDM)",
        "Negative multinomial (NegMN)",
        "Regression",
        "Multinomial regression",
        "Dirichlet-multinomial regression",
        "Generalized Dirichlet-multinomial Regression",
        "Negative multinomial regression",
        "Prediction",
        "Sparse regression",
        "Select by entries",
        "Select by rows",
        "Select by singular values"
      ],
      "created": "2018-01-14 14:31:14",
      "modified": "2022-04-13 22:32:32",
      "commits": 3
    }
  ],
  "_score": 5.41372586783271,
  "_indexed": true,
  "_nocasepkg": "mglm",
  "_universes": [
    "juhyun-kim-ucla"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-22T08:39:52.000Z",
      "distro": "resolute",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/d19ea2440425756b6ba5742c077950dde639eec04114b384a09e324dcdaae7e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-22T08:40:02.000Z",
      "distro": "resolute",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/141bc74025fbf2f4c35352ff5a18c5ba9b5250ef1cbb7ae13b4f64c59bf027a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-22T08:40:47.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/142d74ddbee39cacba55791c419b181716c0621fe0c5d517f29814f56e8a002b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-22T08:40:31.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/d689c7b4e983e32d706f5404053f596d4067dd0a8c1b56bd30997ec47ab60105",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-10-22T08:39:51.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/6f4c2b7df1e60b8d14b35844d2eff5415b69e1c9a3639f4dd444ecfce291cfcf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-22T08:39:17.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/27c92a2a5392e94b4aa916b0b1f42b22243314179e6356ff0b4f63a49162d983",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-22T08:39:16.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/ff7ed5bf4a0ae11f049cc5309925c779cb6c0d03d901d8ea4bf2d027ccf67109",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-22T08:39:14.000Z",
      "commit": "2d3d14956f2e0beaa6f5d403b20d42723adb1254",
      "fileid": "https://r2.ropensci.org/5349e9f8cb15980e7f2a6a2b66794b9d1a27441a6d68e1df1896a46250c164c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/juhyun-kim-ucla/actions/runs/39748841226"
    }
  ]
}