{
  "_id": "6a12ccbeacfb0bcc41d217a4",
  "Package": "TruncExpFam",
  "Title": "Truncated Exponential Family",
  "Version": "1.2.1.9000",
  "Date": "2025-04-10",
  "Authors@R": "c(\nperson(\ngiven = \"René\",\nfamily = \"Holst\",\nrole = \"aut\",\nemail = \"rene.holst@medisin.uio.no\"\n),\nperson(\ngiven = \"Waldir\",\nfamily = \"Leoncio\",\nrole = c(\"cre\", \"aut\"),\nemail = \"w.l.netto@medisin.uio.no\"\n)\n)",
  "Description": "Handles truncated members from the exponential family of\nprobability distributions. Contains functions such as\nrtruncnorm() and dtruncpois(), which are truncated versions of\nrnorm() and dpois() from the stats package that also offer\nricher output containing, for example, the distribution\nparameters. It also provides functions to retrieve the original\ndistribution parameters from a truncated sample by\nmaximum-likelihood estimation.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://ocbe-uio.github.io/TruncExpFam/",
  "BugReports": "https://github.com/ocbe-uio/TruncExpFam/issues",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Repository": "https://ocbe-uio.r-universe.dev",
  "Date/Publication": "2025-04-14 10:03:50 UTC",
  "RemoteUrl": "https://github.com/ocbe-uio/TruncExpFam",
  "RemoteRef": "HEAD",
  "RemoteSha": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 09:59:28 UTC",
    "User": "root"
  },
  "Author": "René Holst [aut],\nWaldir Leoncio [cre, aut]",
  "Maintainer": "Waldir Leoncio <w.l.netto@medisin.uio.no>",
  "MD5sum": "bc64beb51f92872ed83c85a7f503f174",
  "_user": "ocbe-uio",
  "_type": "src",
  "_file": "TruncExpFam_1.2.1.9000.tar.gz",
  "_fileid": "6a7f1bd8624ebd34cf26965dca2aad45547628a4f971b0493e8a15b98bee87bb",
  "_filesize": 201693,
  "_sha256": "6a7f1bd8624ebd34cf26965dca2aad45547628a4f971b0493e8a15b98bee87bb",
  "_created": "2026-05-24T09:59:28.000Z",
  "_published": "2026-05-24T10:02:38.873Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77588746001,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7184230067"
    },
    {
      "job": 77588745997,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184232000"
    },
    {
      "job": 77588745994,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7184228885"
    },
    {
      "job": 77588746005,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184228902"
    },
    {
      "job": 77588589416,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184215624"
    },
    {
      "job": 77588745979,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184226313"
    },
    {
      "job": 77588746003,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7184228452"
    },
    {
      "job": 77588746002,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7184229504"
    },
    {
      "job": 77588746004,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7184230994"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ocbe-uio/TruncExpFam",
  "_commit": {
    "id": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
    "author": "Waldir Leoncio <w.l.netto@medisin.uio.no>",
    "committer": "Waldir Leoncio <w.l.netto@medisin.uio.no>",
    "message": "Merge branch 'fewer-pages' into develop\n\n* fewer-pages:\n  Increment version number to 1.2.1.9000\n  Deploy page only on GH release\n",
    "time": 1744625030
  },
  "_maintainer": {
    "name": "Waldir Leoncio",
    "email": "w.l.netto@medisin.uio.no",
    "login": "wleoncio",
    "description": "Research Software Engineer @ocbe-uio",
    "uuid": 8234768
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "invgamma",
      "role": "Imports"
    },
    {
      "package": "rmutil",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ocbe-uio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "truncated-distribution"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wleoncio",
      "count": 894,
      "uuid": 8234768
    },
    {
      "user": "rho62",
      "count": 7,
      "uuid": 23009854
    }
  ],
  "_userbio": {
    "uuid": 58079878,
    "type": "organization",
    "name": "Oslo Centre for Biostatistics and Epidemiology",
    "description": "This is where we host most of the scientific software we produce at OCBE, a joint center between the University of Oslo and the Oslo University Hospital."
  },
  "_downloads": {
    "count": 281,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TruncExpFam"
  },
  "_devurl": "https://github.com/ocbe-uio/truncexpfam",
  "_pkgdown": "https://ocbe-uio.github.io/TruncExpFam/",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TruncExpFam.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ocbe-uio/truncexpfam",
  "_realowner": "ocbe-uio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-02-24"
    },
    {
      "version": "1.0.1",
      "date": "2023-08-24"
    },
    {
      "version": "1.1.0",
      "date": "2023-11-14"
    },
    {
      "version": "1.1.1",
      "date": "2024-02-26"
    },
    {
      "version": "1.2.0",
      "date": "2024-09-26"
    },
    {
      "version": "1.2.1",
      "date": "2025-04-10"
    }
  ],
  "_exports": [
    "dtrunc",
    "dtruncbeta",
    "dtruncbinom",
    "dtruncchisq",
    "dtrunccontbern",
    "dtruncexp",
    "dtruncgamma",
    "dtruncinvgamma",
    "dtruncinvgauss",
    "dtrunclnorm",
    "dtruncnbinom",
    "dtruncnorm",
    "dtruncpois",
    "empiricalParameters",
    "mlEstimationTruncDist",
    "natural2parameters",
    "parameters2natural",
    "probdist",
    "ptrunc",
    "ptruncbeta",
    "ptruncbinom",
    "ptruncchisq",
    "ptrunccontbern",
    "ptruncexp",
    "ptruncgamma",
    "ptruncinvgamma",
    "ptruncinvgauss",
    "ptrunclnorm",
    "ptruncnbinom",
    "ptruncnorm",
    "ptruncpois",
    "qtrunc",
    "qtruncbeta",
    "qtruncbinom",
    "qtruncchisq",
    "qtrunccontbern",
    "qtruncexp",
    "qtruncgamma",
    "qtruncinvgamma",
    "qtruncinvgauss",
    "qtrunclnorm",
    "qtruncnbinom",
    "qtruncnorm",
    "qtruncpois",
    "rtrunc",
    "rtrunc_direct",
    "rtruncbeta",
    "rtruncbinom",
    "rtruncchisq",
    "rtrunccontbern",
    "rtruncexp",
    "rtruncgamma",
    "rtruncinvgamma",
    "rtruncinvgauss",
    "rtrunclnorm",
    "rtruncnbinom",
    "rtruncnorm",
    "rtruncpois"
  ],
  "_help": [
    {
      "page": "dot-onAttach",
      "title": "Prints welcome message on package load",
      "topics": [
        ".onAttach"
      ]
    },
    {
      "page": "averageT",
      "title": "Averages out the sufficient statistics T(y)",
      "topics": [
        "averageT"
      ]
    },
    {
      "page": "dtrunc",
      "title": "Probability Density Function",
      "topics": [
        "dtrunc",
        "dtrunc.trunc_nbinom",
        "dtruncbeta",
        "dtruncbinom",
        "dtruncchisq",
        "dtrunccontbern",
        "dtruncexp",
        "dtruncgamma",
        "dtruncinvgamma",
        "dtruncinvgauss",
        "dtrunclnorm",
        "dtruncnbinom",
        "dtruncnorm",
        "dtruncpois"
      ]
    },
    {
      "page": "empiricalParameters",
      "title": "Calculate empirical parameters",
      "topics": [
        "empiricalParameters"
      ]
    },
    {
      "page": "empiricalParameters.numeric",
      "title": "Extract parameters",
      "topics": [
        "empiricalParameters.numeric"
      ]
    },
    {
      "page": "genrtruncClass",
      "title": "Generates an rtrunc-dispatchable class",
      "topics": [
        "genrtruncClass"
      ]
    },
    {
      "page": "mlEstimationTruncDist",
      "title": "ML Estimation of Distribution Parameters",
      "topics": [
        "mlEstimationTruncDist"
      ]
    },
    {
      "page": "natural2parameters",
      "title": "Convert natural parameters to distribution parameters",
      "topics": [
        "natural2parameters"
      ]
    },
    {
      "page": "parameters2natural",
      "title": "Convert distribution parameters to natural parameters",
      "topics": [
        "parameters2natural"
      ]
    },
    {
      "page": "print.trunc",
      "title": "Print sample from truncated distribution",
      "topics": [
        "print.trunc",
        "print.trunc_beta",
        "print.trunc_binomial",
        "print.trunc_chisq",
        "print.trunc_contbern",
        "print.trunc_exp",
        "print.trunc_gamma",
        "print.trunc_invgamma",
        "print.trunc_invgauss",
        "print.trunc_lognormal",
        "print.trunc_nbinom",
        "print.trunc_normal",
        "print.trunc_poisson"
      ]
    },
    {
      "page": "probdist-class",
      "title": "Probability distribution class",
      "topics": [
        "probdist",
        "probdist-class"
      ]
    },
    {
      "page": "ptrunc",
      "title": "Cumulative Distribution Function",
      "topics": [
        "ptrunc",
        "ptruncbeta",
        "ptruncbinom",
        "ptruncchisq",
        "ptrunccontbern",
        "ptruncexp",
        "ptruncgamma",
        "ptruncinvgamma",
        "ptruncinvgauss",
        "ptrunclnorm",
        "ptruncnbinom",
        "ptruncnorm",
        "ptruncpois"
      ]
    },
    {
      "page": "qtrunc",
      "title": "Quantile Function",
      "topics": [
        "qtrunc",
        "qtruncbeta",
        "qtruncbinom",
        "qtruncchisq",
        "qtrunccontbern",
        "qtruncexp",
        "qtruncgamma",
        "qtruncinvgamma",
        "qtruncinvgauss",
        "qtrunclnorm",
        "qtruncnbinom",
        "qtruncnorm",
        "qtruncpois"
      ]
    },
    {
      "page": "rtrunc",
      "title": "The Truncated Exponential Family",
      "topics": [
        "rtrunc",
        "rtruncbeta",
        "rtruncbinom",
        "rtruncchisq",
        "rtrunccontbern",
        "rtruncexp",
        "rtruncgamma",
        "rtruncinvgamma",
        "rtruncinvgauss",
        "rtrunclnorm",
        "rtruncnbinom",
        "rtruncnorm",
        "rtruncpois",
        "rtrunc_direct"
      ]
    },
    {
      "page": "TruncExpFam",
      "title": "Truncated Exponential Family",
      "topics": [
        "TruncExpFam-package",
        "TruncExpFam"
      ]
    },
    {
      "page": "validateFamilyParms",
      "title": "Validate family parameters",
      "topics": [
        "validateFamilyParms"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ocbe-uio/TruncExpFam/raw/HEAD/logo.png",
  "_readme": "https://github.com/ocbe-uio/TruncExpFam/raw/HEAD/README.md",
  "_rundeps": [
    "invgamma",
    "rmutil"
  ],
  "_vignettes": [
    {
      "source": "Sampling_and_ML_estimation.Rmd",
      "filename": "Sampling_and_ML_estimation.html",
      "title": "Sampling and ML estimation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using TruncExpFam",
        "Sampling from a truncated distribution",
        "Different ways to do the same thing",
        "Actually sampling from a truncated distribution",
        "Recovering the original parameters"
      ],
      "created": "2022-09-14 15:29:28",
      "modified": "2023-02-06 13:41:52",
      "commits": 2
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "truncexpfam",
  "_universes": [
    "ocbe-uio",
    "wleoncio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:12.000Z",
      "distro": "noble",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "bad88787a75b26267287eff63f9f7d2bb38086a76a66ac94acbee26159fbabd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:32.000Z",
      "distro": "noble",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "0723f8f3e041ed8c6baa09571dbb31717145614494ec259d473427009a0f4edf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:08.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "8392a0204891440d9237e19b47f0e6f298d10e6083ea8df27366a5fd0b9dd15d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:06.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "1c4ddcc954002c5e3a65886eea1735af104c6b17f4d4642e83d0390a194de403",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:29.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "558e576960cb42eb44fb2be536a2cb82a2d6d319aa40329493796861efb1809b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:00:49.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "a8026b8ba0618efb09f3e89a764c78a0a547152ecbfe85d693a2602f29f5d2b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:00:56.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "37f338ba5822b8bbfbe5af5d7dd4213a9d2b10ae3dafbbb688b8951105185dd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-24T10:01:11.000Z",
      "commit": "6e4abb0e31f91c7f69d088afd7f613782c0b5f86",
      "fileid": "9a60cc94e9227de369d8951a9c7c075062cc718ff3957d689a19125c18ca64fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/26358145739"
    }
  ]
}