{
  "_id": "6a1f0a60b401979e7341c501",
  "Package": "apollo",
  "Type": "Package",
  "Title": "Tools for Choice Model Estimation and Application",
  "Version": "0.3.8",
  "Authors@R": "c(\nperson(\"Stephane\", \"Hess\", email=\"S.Hess@leeds.ac.uk\", role=c(\"aut\",\"cre\")),\nperson(\"David\", \"Palma\", email=\"D.Palma@leeds.ac.uk\", role=\"aut\"),\nperson(\"Thomas\", \"Hancock\", email=\"T.O.Hancock@leeds.ac.uk\", role=\"ctb\"))",
  "Description": "Choice models are a widely used technique across numerous\nscientific disciplines. The Apollo package is a very flexible\ntool for the estimation and application of choice models in R.\nUsers are able to write their own model functions or use a mix\nof already available ones. Random heterogeneity, both\ncontinuous and discrete and at the level of individuals and\nchoices, can be incorporated for all models. There is support\nfor both standalone models and hybrid model structures.  Both\nclassical and Bayesian estimation is available, and multiple\ndiscrete continuous models are covered in addition to discrete\nchoice. Multi-threading processing is supported for estimation\nand a large number of pre and post-estimation routines,\nincluding for computing posterior (individual-level)\ndistributions are available. For examples, a manual, and a\nsupport forum, visit <https://www.ApolloChoiceModelling.com>.\nFor more information on choice models see Train, K. (2009)\n<isbn:978-0-521-74738-7> and Hess, S. & Daly, A.J. (2014)\n<isbn:978-1-781-00314-5> for an overview of the field.",
  "License": "GPL-2",
  "URL": "https://www.ApolloChoiceModelling.com",
  "BugReports": "https://www.ApolloChoiceModelling.com/forum/",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-18 03:29:21 UTC",
    "User": "root"
  },
  "Author": "Stephane Hess [aut, cre], David Palma [aut], Thomas Hancock\n[ctb]",
  "Maintainer": "Stephane Hess <S.Hess@leeds.ac.uk>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://stephanehess.r-universe.dev",
  "Date/Publication": "2026-05-18 00:15:16 UTC",
  "RemoteUrl": "https://github.com/cran/apollo",
  "RemoteRef": "HEAD",
  "RemoteSha": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
  "MD5sum": "fc678bbd7b7ff7cc55d03d0aff0f9b3c",
  "_user": "stephanehess",
  "_type": "src",
  "_file": "apollo_0.3.8.tar.gz",
  "_fileid": "c7673bb0cf0c5caba73cd9447a9b36d322936a6021aeeaae624564be968ab946",
  "_filesize": 1018747,
  "_sha256": "c7673bb0cf0c5caba73cd9447a9b36d322936a6021aeeaae624564be968ab946",
  "_created": "2026-05-18T03:29:21.000Z",
  "_published": "2026-06-02T16:52:48.875Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79125172079,
      "time": 263,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7049071192"
    },
    {
      "job": 79125172175,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7049064592"
    },
    {
      "job": 79125172099,
      "time": 229,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049066412"
    },
    {
      "job": 79125172632,
      "time": 225,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049065899"
    },
    {
      "job": 79125172613,
      "time": 192,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7049060888"
    },
    {
      "job": 79125172299,
      "time": 485,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7049103088"
    },
    {
      "job": 79125172226,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049057573"
    },
    {
      "job": 79125171970,
      "time": 340,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049082720"
    },
    {
      "job": 79125171635,
      "time": 289,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049031624"
    },
    {
      "job": 79125171266,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364307563"
    },
    {
      "job": 79125172173,
      "time": 201,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7049062037"
    },
    {
      "job": 79125172256,
      "time": 233,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7049066925"
    },
    {
      "job": 79125172110,
      "time": 230,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7049066449"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/apollo",
  "_commit": {
    "id": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
    "author": "Stephane Hess <S.Hess@leeds.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.8\n",
    "time": 1779063316
  },
  "_maintainer": {
    "name": "Stephane Hess",
    "email": "s.hess@leeds.ac.uk",
    "login": "stephanehess",
    "description": "I am an internationally recognised expert in the analysis of human decision making using advanced mathematical models, with a key focus on travel behaviour. ",
    "uuid": 136076642
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "maxLik",
      "role": "Imports"
    },
    {
      "package": "mnormt",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Deriv",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "bgw",
      "version": ">= 0.1.4",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "Rsolnp",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.6",
      "date": "2025-09-19"
    },
    {
      "name": "0.3.7",
      "date": "2026-03-13"
    },
    {
      "name": "0.3.8",
      "date": "2026-05-18"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "stephanehess",
      "count": 12,
      "uuid": 136076642
    }
  ],
  "_userbio": {
    "uuid": 136076642,
    "type": "user",
    "name": "Stephane Hess",
    "description": "I am an internationally recognised expert in the analysis of human decision making using advanced mathematical models, with a key focus on travel behaviour. "
  },
  "_downloads": {
    "count": 3306,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/apollo"
  },
  "_mentions": 3,
  "_searchresults": 465,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/apollo.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "stephanehess",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2019-01-16"
    },
    {
      "version": "0.0.6",
      "date": "2019-03-13"
    },
    {
      "version": "0.0.7",
      "date": "2019-05-08"
    },
    {
      "version": "0.0.8",
      "date": "2019-09-09"
    },
    {
      "version": "0.0.9",
      "date": "2019-10-24"
    },
    {
      "version": "0.1.0",
      "date": "2020-03-16"
    },
    {
      "version": "0.2.0",
      "date": "2020-10-19"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-28"
    },
    {
      "version": "0.2.2",
      "date": "2020-12-06"
    },
    {
      "version": "0.2.3",
      "date": "2021-01-20"
    },
    {
      "version": "0.2.4",
      "date": "2021-02-25"
    },
    {
      "version": "0.2.5",
      "date": "2021-07-31"
    },
    {
      "version": "0.2.6",
      "date": "2021-11-08"
    },
    {
      "version": "0.2.7",
      "date": "2022-01-26"
    },
    {
      "version": "0.2.8",
      "date": "2022-08-09"
    },
    {
      "version": "0.2.9",
      "date": "2023-05-14"
    },
    {
      "version": "0.3.0",
      "date": "2023-08-10"
    },
    {
      "version": "0.3.1",
      "date": "2023-10-12"
    },
    {
      "version": "0.3.2",
      "date": "2024-04-15"
    },
    {
      "version": "0.3.3",
      "date": "2024-06-04"
    },
    {
      "version": "0.3.4",
      "date": "2024-10-01"
    },
    {
      "version": "0.3.5",
      "date": "2025-03-12"
    },
    {
      "version": "0.3.6",
      "date": "2025-09-19"
    },
    {
      "version": "0.3.7",
      "date": "2026-03-13"
    },
    {
      "version": "0.3.8",
      "date": "2026-05-17"
    }
  ],
  "_exports": [
    "apollo_addCovariance",
    "apollo_attach",
    "apollo_avgInterDraws",
    "apollo_avgIntraDraws",
    "apollo_basTest",
    "apollo_bootstrap",
    "apollo_checkArguments",
    "apollo_choiceAnalysis",
    "apollo_classAlloc",
    "apollo_cnl",
    "apollo_cnl2",
    "apollo_combineModels",
    "apollo_combineResults",
    "apollo_compareInputs",
    "apollo_conditionals",
    "apollo_deltaMethod",
    "apollo_detach",
    "apollo_dft",
    "apollo_diagnostics",
    "apollo_dVdB",
    "apollo_dVdBOld",
    "apollo_el",
    "apollo_emdc",
    "apollo_emdc1",
    "apollo_emdc2",
    "apollo_estimate",
    "apollo_estimateHB",
    "apollo_expandLoop",
    "apollo_firstRow",
    "apollo_fitsTest",
    "apollo_fmnl",
    "apollo_fnl",
    "apollo_initialise",
    "apollo_insertComponentName",
    "apollo_insertFunc",
    "apollo_insertOLList",
    "apollo_insertRows",
    "apollo_insertRRMQuotes",
    "apollo_insertScaling",
    "apollo_keepRows",
    "apollo_lc",
    "apollo_lcConditionals",
    "apollo_lcEM",
    "apollo_lcUnconditionals",
    "apollo_llCalc",
    "apollo_loadModel",
    "apollo_longToWide",
    "apollo_lrTest",
    "apollo_makeCluster",
    "apollo_makeDraws",
    "apollo_makeGrad",
    "apollo_makeHessian",
    "apollo_makeLogLike",
    "apollo_mdcev",
    "apollo_mdcev2",
    "apollo_mdcnev",
    "apollo_mixConditionals",
    "apollo_mixEM",
    "apollo_mixUnconditionals",
    "apollo_mlhs",
    "apollo_mnl",
    "apollo_modelOutput",
    "apollo_modifyUserDefFunc",
    "apollo_nl",
    "apollo_normalDensity",
    "apollo_ol",
    "apollo_op",
    "apollo_outOfSample",
    "apollo_ownModel",
    "apollo_panelProd",
    "apollo_prediction",
    "apollo_preEstimate",
    "apollo_prepareProb",
    "apollo_preprocess",
    "apollo_print",
    "apollo_readBeta",
    "apollo_rrm",
    "apollo_saveOutput",
    "apollo_searchStart",
    "apollo_setRows",
    "apollo_setWorkDir",
    "apollo_sharesTest",
    "apollo_sink",
    "apollo_speedTest",
    "apollo_tobit",
    "apollo_unconditionals",
    "apollo_validate",
    "apollo_validateControl",
    "apollo_validateData",
    "apollo_validateHBControl",
    "apollo_validateInputs",
    "apollo_varcov",
    "apollo_varList",
    "apollo_weighting",
    "apollo_writeF12",
    "apollo_writeTheta",
    "aux_validateRows"
  ],
  "_datasets": [
    {
      "name": "apollo_drugChoiceData",
      "title": "Simulated dataset of medication choice.",
      "object": "apollo_drugChoiceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "task",
        "best",
        "second_pref",
        "third_pref",
        "worst",
        "brand_1",
        "country_1",
        "char_1",
        "side_effects_1",
        "price_1",
        "brand_2",
        "country_2",
        "char_2",
        "side_effects_2",
        "price_2",
        "brand_3",
        "country_3",
        "char_3",
        "side_effects_3",
        "price_3",
        "brand_4",
        "country_4",
        "char_4",
        "side_effects_4",
        "price_4",
        "regular_user",
        "university_educated",
        "over_50",
        "attitude_quality",
        "attitude_ingredients",
        "attitude_patent",
        "attitude_dominance"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "apollo_modeChoiceData",
      "title": "Simulated dataset of mode choice.",
      "object": "apollo_modeChoiceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "RP",
        "SP",
        "RP_journey",
        "SP_task",
        "av_car",
        "av_bus",
        "av_air",
        "av_rail",
        "time_car",
        "cost_car",
        "time_bus",
        "cost_bus",
        "access_bus",
        "time_air",
        "cost_air",
        "access_air",
        "service_air",
        "time_rail",
        "cost_rail",
        "access_rail",
        "service_rail",
        "female",
        "business",
        "income",
        "choice"
      ],
      "rows": 8000,
      "table": true,
      "tojson": true
    },
    {
      "name": "apollo_swissRouteChoiceData",
      "title": "Dataset of route choice.",
      "object": "apollo_swissRouteChoiceData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "choice",
        "tt1",
        "tc1",
        "hw1",
        "ch1",
        "tt2",
        "tc2",
        "hw2",
        "ch2",
        "hh_inc_abs",
        "car_availability",
        "commute",
        "shopping",
        "business",
        "leisure"
      ],
      "rows": 3492,
      "table": true,
      "tojson": true
    },
    {
      "name": "apollo_timeUseData",
      "title": "Dataset of time use.",
      "object": "apollo_timeUseData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "indivID",
        "day",
        "date",
        "budget",
        "t_a01",
        "t_a02",
        "t_a03",
        "t_a04",
        "t_a05",
        "t_a06",
        "t_a07",
        "t_a08",
        "t_a09",
        "t_a10",
        "t_a11",
        "t_a12",
        "female",
        "age",
        "occ_full_time",
        "weekend"
      ],
      "rows": 2826,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dot-onAttach",
      "title": "Prints package startup message",
      "topics": [
        ".onAttach"
      ]
    },
    {
      "page": "apollo_addCovariance",
      "title": "Adds covariance matrix to Apollo model",
      "topics": [
        "apollo_addCovariance"
      ]
    },
    {
      "page": "apollo_attach",
      "title": "Attaches predefined variables.",
      "topics": [
        "apollo_attach"
      ]
    },
    {
      "page": "apollo_avgInterDraws",
      "title": "Averages across inter-individual draws.",
      "topics": [
        "apollo_avgInterDraws"
      ]
    },
    {
      "page": "apollo_avgIntraDraws",
      "title": "Averages across intra-individual draws.",
      "topics": [
        "apollo_avgIntraDraws"
      ]
    },
    {
      "page": "apollo_basTest",
      "title": "Ben-Akiva & Swait test",
      "topics": [
        "apollo_basTest"
      ]
    },
    {
      "page": "apollo_bootstrap",
      "title": "Bootstrap a model",
      "topics": [
        "apollo_bootstrap"
      ]
    },
    {
      "page": "apollo_checkArguments",
      "title": "Checks definitions of Apollo functions",
      "topics": [
        "apollo_checkArguments"
      ]
    },
    {
      "page": "apollo_choiceAnalysis",
      "title": "Reports market share for subsamples",
      "topics": [
        "apollo_choiceAnalysis"
      ]
    },
    {
      "page": "apollo_classAlloc",
      "title": "Calculates class allocation probabilities for a Latent Class model",
      "topics": [
        "apollo_classAlloc"
      ]
    },
    {
      "page": "apollo_cnl",
      "title": "Calculates Cross-Nested Logit probabilities",
      "topics": [
        "apollo_cnl"
      ]
    },
    {
      "page": "apollo_cnl2",
      "title": "Calculates Cross-Nested Logit probabilities",
      "topics": [
        "apollo_cnl2"
      ]
    },
    {
      "page": "apollo_combineModels",
      "title": "Combines separate model components.",
      "topics": [
        "apollo_combineModels"
      ]
    },
    {
      "page": "apollo_combineResults",
      "title": "Write model results to file",
      "topics": [
        "apollo_combineResults"
      ]
    },
    {
      "page": "apollo_compareInputs",
      "title": "Compares the content of apollo_inputs to their counterparts in the global environment",
      "topics": [
        "apollo_compareInputs"
      ]
    },
    {
      "page": "apollo_conditionals",
      "title": "Calculates conditionals",
      "topics": [
        "apollo_conditionals"
      ]
    },
    {
      "page": "apollo_deltaMethod",
      "title": "Delta method for Apollo models",
      "topics": [
        "apollo_deltaMethod"
      ]
    },
    {
      "page": "apollo_detach",
      "title": "Detaches parameters and the database.",
      "topics": [
        "apollo_detach"
      ]
    },
    {
      "page": "apollo_dft",
      "title": "Calculate DFT probabilities",
      "topics": [
        "apollo_dft"
      ]
    },
    {
      "page": "apollo_diagnostics",
      "title": "Pre-process input for common models return",
      "topics": [
        "apollo_diagnostics"
      ]
    },
    {
      "page": "apollo_drugChoiceData",
      "title": "Simulated dataset of medication choice.",
      "topics": [
        "apollo_drugChoiceData"
      ]
    },
    {
      "page": "apollo_dVdB",
      "title": "Calculates gradients of utility functions",
      "topics": [
        "apollo_dVdB"
      ]
    },
    {
      "page": "apollo_dVdBOld",
      "title": "Calculates gradients of utility functions",
      "topics": [
        "apollo_dVdBOld"
      ]
    },
    {
      "page": "apollo_el",
      "title": "Calculates Exploded Logit probabilities",
      "topics": [
        "apollo_el"
      ]
    },
    {
      "page": "apollo_emdc",
      "title": "MDC model with exogenous budget",
      "topics": [
        "apollo_emdc"
      ]
    },
    {
      "page": "apollo_emdc1",
      "title": "MDC model with exogenous budget",
      "topics": [
        "apollo_emdc1"
      ]
    },
    {
      "page": "apollo_emdc2",
      "title": "Extended MDC",
      "topics": [
        "apollo_emdc2"
      ]
    },
    {
      "page": "apollo_estimate",
      "title": "Estimates model",
      "topics": [
        "apollo_estimate"
      ]
    },
    {
      "page": "apollo_estimateHB",
      "title": "Estimates model using Bayesian estimation",
      "topics": [
        "apollo_estimateHB"
      ]
    },
    {
      "page": "apollo_expandLoop",
      "title": "Expands loops in a function or expression",
      "topics": [
        "apollo_expandLoop"
      ]
    },
    {
      "page": "apollo_firstRow",
      "title": "Keeps only the first row for each individual",
      "topics": [
        "apollo_firstRow"
      ]
    },
    {
      "page": "apollo_fitsTest",
      "title": "Compares log-likelihood of model across categories",
      "topics": [
        "apollo_fitsTest"
      ]
    },
    {
      "page": "apollo_fmnl",
      "title": "Calculates Fractional Multinomial Logit probabilities",
      "topics": [
        "apollo_fmnl"
      ]
    },
    {
      "page": "apollo_fnl",
      "title": "Calculates Fractional Nested Logit probabilities",
      "topics": [
        "apollo_fnl"
      ]
    },
    {
      "page": "apollo_initialise",
      "title": "Prepares environment",
      "topics": [
        "apollo_initialise"
      ]
    },
    {
      "page": "apollo_insertComponentName",
      "title": "Adds componentName2 to model calls",
      "topics": [
        "apollo_insertComponentName"
      ]
    },
    {
      "page": "apollo_insertFunc",
      "title": "Modifies function to make it compatible with analytic gradients",
      "topics": [
        "apollo_insertFunc"
      ]
    },
    {
      "page": "apollo_insertOLList",
      "title": "Replaces 'tau=c(...)' by 'tau=list(...)' in calls to 'apollo_ol'",
      "topics": [
        "apollo_insertOLList"
      ]
    },
    {
      "page": "apollo_insertRows",
      "title": "Inserts rows",
      "topics": [
        "apollo_insertRows"
      ]
    },
    {
      "page": "apollo_insertRRMQuotes",
      "title": "Introduces quotes into rrm_settings",
      "topics": [
        "apollo_insertRRMQuotes"
      ]
    },
    {
      "page": "apollo_insertScaling",
      "title": "Scales variables inside a function",
      "topics": [
        "apollo_insertScaling"
      ]
    },
    {
      "page": "apollo_keepRows",
      "title": "Keeps only some rows",
      "topics": [
        "apollo_keepRows"
      ]
    },
    {
      "page": "apollo_lc",
      "title": "Calculates the likelihood of a latent class model",
      "topics": [
        "apollo_lc"
      ]
    },
    {
      "page": "apollo_lcConditionals",
      "title": "Calculates conditionals for latent class models.",
      "topics": [
        "apollo_lcConditionals"
      ]
    },
    {
      "page": "apollo_lcEM",
      "title": "Uses EM for latent class model",
      "topics": [
        "apollo_lcEM"
      ]
    },
    {
      "page": "apollo_lcEM_new",
      "title": "Uses EM for latent class model",
      "topics": [
        "apollo_lcEM_new"
      ]
    },
    {
      "page": "apollo_lcUnconditionals",
      "title": "Returns unconditionals for a latent class model model",
      "topics": [
        "apollo_lcUnconditionals"
      ]
    },
    {
      "page": "apollo_llCalc",
      "title": "Calculates log-likelihood of all model components",
      "topics": [
        "apollo_llCalc"
      ]
    },
    {
      "page": "apollo_loadModel",
      "title": "Loads model from file",
      "topics": [
        "apollo_loadModel"
      ]
    },
    {
      "page": "apollo_longToWide",
      "title": "Converts data from long to wide format.",
      "topics": [
        "apollo_longToWide"
      ]
    },
    {
      "page": "apollo_lrTest",
      "title": "Likelihood ratio test",
      "topics": [
        "apollo_lrTest"
      ]
    },
    {
      "page": "apollo_makeCluster",
      "title": "Creates cluster for estimation.",
      "topics": [
        "apollo_makeCluster"
      ]
    },
    {
      "page": "apollo_makeDraws",
      "title": "Creates draws for models with mixing",
      "topics": [
        "apollo_makeDraws"
      ]
    },
    {
      "page": "apollo_makeGrad",
      "title": "Creates gradient function.",
      "topics": [
        "apollo_makeGrad"
      ]
    },
    {
      "page": "apollo_makeHessian",
      "title": "Creates hessian function.",
      "topics": [
        "apollo_makeHessian"
      ]
    },
    {
      "page": "apollo_makeLogLike",
      "title": "Creates log-likelihood function.",
      "topics": [
        "apollo_makeLogLike"
      ]
    },
    {
      "page": "apollo_mdcev",
      "title": "Calculates MDCEV likelihoods",
      "topics": [
        "apollo_mdcev"
      ]
    },
    {
      "page": "apollo_mdcev2",
      "title": "Calculates MDCEV likelihoods",
      "topics": [
        "apollo_mdcev2"
      ]
    },
    {
      "page": "apollo_mdcnev",
      "title": "Calculates MDCNEV likelihoods",
      "topics": [
        "apollo_mdcnev"
      ]
    },
    {
      "page": "apollo_mixConditionals",
      "title": "Calculates conditionals for continuous mixture models",
      "topics": [
        "apollo_mixConditionals"
      ]
    },
    {
      "page": "apollo_mixEM",
      "title": "Uses EM for models with continuous random coefficients",
      "topics": [
        "apollo_mixEM"
      ]
    },
    {
      "page": "apollo_mixUnconditionals",
      "title": "Returns draws for continuously distributed random parameters in mixture model",
      "topics": [
        "apollo_mixUnconditionals"
      ]
    },
    {
      "page": "apollo_mlhs",
      "title": "Generate random draws using MLHS algorithm",
      "topics": [
        "apollo_mlhs"
      ]
    },
    {
      "page": "apollo_mnl",
      "title": "Calculates Multinomial Logit probabilities",
      "topics": [
        "apollo_mnl"
      ]
    },
    {
      "page": "apollo_modeChoiceData",
      "title": "Simulated dataset of mode choice.",
      "topics": [
        "apollo_modeChoiceData"
      ]
    },
    {
      "page": "apollo_modelOutput",
      "title": "Prints estimation results to console",
      "topics": [
        "apollo_modelOutput"
      ]
    },
    {
      "page": "apollo_modifyUserDefFunc",
      "title": "Checks and modifies Apollo user-defined functions",
      "topics": [
        "apollo_modifyUserDefFunc"
      ]
    },
    {
      "page": "apollo_nl",
      "title": "Calculates Nested Logit probabilities",
      "topics": [
        "apollo_nl"
      ]
    },
    {
      "page": "apollo_normalDensity",
      "title": "Calculates density for a Normal distribution",
      "topics": [
        "apollo_normalDensity"
      ]
    },
    {
      "page": "apollo_ol",
      "title": "Calculates Ordered Logit probabilities",
      "topics": [
        "apollo_ol"
      ]
    },
    {
      "page": "apollo_op",
      "title": "Calculates Ordered Probit probabilities",
      "topics": [
        "apollo_op"
      ]
    },
    {
      "page": "apollo_outOfSample",
      "title": "Cross-validation of fit (LL)",
      "topics": [
        "apollo_outOfSample"
      ]
    },
    {
      "page": "apollo_ownModel",
      "title": "Calculates own model probabilities",
      "topics": [
        "apollo_ownModel"
      ]
    },
    {
      "page": "apollo_panelProd",
      "title": "Calculates product across observations from same individual.",
      "topics": [
        "apollo_panelProd"
      ]
    },
    {
      "page": "apollo_prediction",
      "title": "Predicts using an estimated model",
      "topics": [
        "apollo_prediction"
      ]
    },
    {
      "page": "apollo_preEstimate",
      "title": "Conducts all the pre-estimation steps for a model",
      "topics": [
        "apollo_preEstimate"
      ]
    },
    {
      "page": "apollo_prepareProb",
      "title": "Checks likelihood function",
      "topics": [
        "apollo_prepareProb"
      ]
    },
    {
      "page": "apollo_preprocess",
      "title": "Pre-process input for multiple models return",
      "topics": [
        "apollo_preprocess"
      ]
    },
    {
      "page": "apollo_print",
      "title": "Prints message to terminal",
      "topics": [
        "apollo_print"
      ]
    },
    {
      "page": "apollo_readBeta",
      "title": "Reads parameters from file",
      "topics": [
        "apollo_readBeta"
      ]
    },
    {
      "page": "apollo_rrm",
      "title": "Calculates Random Regret Minimisation model probabilities",
      "topics": [
        "apollo_rrm"
      ]
    },
    {
      "page": "apollo_saveOutput",
      "title": "Saves estimation results to files.",
      "topics": [
        "apollo_saveOutput"
      ]
    },
    {
      "page": "apollo_searchStart",
      "title": "Searches for better starting values.",
      "topics": [
        "apollo_searchStart"
      ]
    },
    {
      "page": "apollo_setRows",
      "title": "Sets specified rows to a given value",
      "topics": [
        "apollo_setRows"
      ]
    },
    {
      "page": "apollo_setWorkDir",
      "title": "Automatically sets working directory to active file directory",
      "topics": [
        "apollo_setWorkDir"
      ]
    },
    {
      "page": "apollo_sharesTest",
      "title": "Compares predicted and observed shares",
      "topics": [
        "apollo_sharesTest"
      ]
    },
    {
      "page": "apollo_sink",
      "title": "Starts or stops writing output to a text file.",
      "topics": [
        "apollo_sink"
      ]
    },
    {
      "page": "apollo_speedTest",
      "title": "Measures evaluation time of a model",
      "topics": [
        "apollo_speedTest"
      ]
    },
    {
      "page": "apollo_swissRouteChoiceData",
      "title": "Dataset of route choice.",
      "topics": [
        "apollo_swissRouteChoiceData"
      ]
    },
    {
      "page": "apollo_timeUseData",
      "title": "Dataset of time use.",
      "topics": [
        "apollo_timeUseData"
      ]
    },
    {
      "page": "apollo_tobit",
      "title": "Calculates density for a Tobit model (censored Normal)",
      "topics": [
        "apollo_tobit"
      ]
    },
    {
      "page": "apollo_unconditionals",
      "title": "Returns unconditionals for models with random heterogeneity",
      "topics": [
        "apollo_unconditionals"
      ]
    },
    {
      "page": "apollo_validate",
      "title": "Pre-process input for common models return",
      "topics": [
        "apollo_validate"
      ]
    },
    {
      "page": "apollo_validateControl",
      "title": "Validates apollo_control",
      "topics": [
        "apollo_validateControl"
      ]
    },
    {
      "page": "apollo_validateData",
      "title": "Validates data",
      "topics": [
        "apollo_validateData"
      ]
    },
    {
      "page": "apollo_validateHBControl",
      "title": "Validates the 'apollo_HB' list of parameters",
      "topics": [
        "apollo_validateHBControl"
      ]
    },
    {
      "page": "apollo_validateInputs",
      "title": "Prepares input for 'apollo_estimate'",
      "topics": [
        "apollo_validateInputs"
      ]
    },
    {
      "page": "apollo_varcov",
      "title": "Calculates variance-covariance matrix of an Apollo model",
      "topics": [
        "apollo_varcov"
      ]
    },
    {
      "page": "apollo_varList",
      "title": "Lists variable names and definitions used inside a function",
      "topics": [
        "apollo_varList"
      ]
    },
    {
      "page": "apollo_weighting",
      "title": "Applies weights",
      "topics": [
        "apollo_weighting"
      ]
    },
    {
      "page": "apollo_writeF12",
      "title": "Writes an F12 file",
      "topics": [
        "apollo_writeF12"
      ]
    },
    {
      "page": "apollo_writeTheta",
      "title": "Writes the vector [beta,ll] to a file called 'modelname_iterations.csv'",
      "topics": [
        "apollo_writeTheta"
      ]
    },
    {
      "page": "aux_validateRows",
      "title": "Validates and expands rows if necessary.",
      "topics": [
        "aux_validateRows"
      ]
    },
    {
      "page": "print.apollo",
      "title": "Prints brief summary of Apollo model",
      "topics": [
        "print.apollo"
      ]
    },
    {
      "page": "summary.apollo",
      "title": "Prints summary of Apollo model",
      "topics": [
        "summary.apollo"
      ]
    }
  ],
  "_rundeps": [
    "bgw",
    "cli",
    "coda",
    "codetools",
    "Deriv",
    "digest",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "maxLik",
    "mcmc",
    "MCMCpack",
    "miscTools",
    "mnormt",
    "mvtnorm",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "quantreg",
    "randtoolbox",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "rngWELL",
    "Rsolnp",
    "rstudioapi",
    "sandwich",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "truncnorm",
    "utf8",
    "vctrs",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "apollofirstexample.Rmd",
      "filename": "apollofirstexample.html",
      "title": "Model file examples",
      "author": "David Palma, Stephane Hess",
      "engine": "knitr::rmarkdown",
      "headings": [
        "About the package",
        "Recommended workflow",
        "MNL model file example",
        "MMNL model file example",
        "References"
      ],
      "created": "2019-03-13 20:13:53",
      "modified": "2021-07-31 10:50:11",
      "commits": 4
    }
  ],
  "_score": 6.220179557612333,
  "_indexed": true,
  "_nocasepkg": "apollo",
  "_universes": [
    "stephanehess"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-18T03:33:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "3f6192db4a5744a363d1f98b5c53e287cbfbdec7c072a1ece4e3b4c4220b4ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-18T03:32:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "5c3f4980485667814b63b1c12c994c9955cd9af2a7183ebc9515f018abbe301f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-18T03:32:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "3a67d4974c3b8226cadafa78120abace454f8a10626174310bd81ac99609916f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-05-18T03:32:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "f30f5f6de4b70c30e5ab1aaf8551a5052f124df9f96bb3b7d9a63e781896a1b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-18T03:32:00.000Z",
      "arch": "aarch64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "081d3b19888ff84654226450203b393d6247e9fbc96d391314a3f7acc0af3ae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-18T03:34:05.000Z",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "928d2a3613160659f0d6362d3a3feb3bc6ab746bdf9ebc00fa23e48695430e00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-18T03:31:51.000Z",
      "arch": "aarch64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "6b98a465005c10a8a2a9def2c35fef43cd86f65d5fc0a1724df0cc98562ff4e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-05-18T03:33:19.000Z",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "88859398ab5adc85f78696a51dd08c7d24f3d59ca1cedf27eb54452595726ed4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-18T03:31:24.000Z",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "65b5e521038b7e07327c2fda07c81f7a44102f0e45ef55b3ba70f4acee35c064",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-18T03:31:47.000Z",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "b5887605c236b93cf94f8a282fba00425ac68376c5ea1738092946e01d2387a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-05-18T03:31:33.000Z",
      "arch": "x86_64",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "052837dd5b98ecbb6f70e59b7815ef4be4816e3b6c84097bc998d12e4408f306",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.8",
      "date": "2026-06-02T16:52:15.000Z",
      "arch": "emscripten",
      "commit": "6720307b8b41a40d5f1d06cc91b97703f6a0cf09",
      "fileid": "54a658d8c40a4c75c1e68b70b9979d40a14d23786bcfc21202599f11d9fbd2e8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stephanehess/actions/runs/26011814318"
    }
  ]
}