{
  "_id": "6a1f1aa8b401979e7341f221",
  "Package": "distfromq",
  "Title": "Reconstruct a Distribution from a Collection of Quantiles",
  "Version": "1.0.4",
  "Authors@R": "c(\nperson(\"Evan\", \"Ray\", , \"elray@umass.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Aaron\", \"Gerding\", , \"agerding@umass.edu\", role = \"aut\"),\nperson(\"Li\", \"Shandross\", , \"lshandross@umass.edu\", role = \"ctb\"),\nperson(\"Nick\", \"Reich\", , \"nick@umass.edu\", role = \"ctb\")\n)",
  "Description": "Given a set of predictive quantiles from a distribution,\nestimate the distribution and create `d`, `p`, `q`, and `r`\nfunctions to evaluate its density function, distribution\nfunction, and quantile function, and generate random samples.\nOn the interior of the provided quantiles, an interpolation\nmethod such as a monotonic cubic spline is used; the tails are\napproximated by a location-scale family.",
  "License": "GPL (>= 3)",
  "URL": "http://reichlab.io/distfromq/",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 09:34:53 UTC",
    "User": "root"
  },
  "Author": "Evan Ray [aut, cre], Aaron Gerding [aut], Li Shandross [ctb],\nNick Reich [ctb]",
  "Maintainer": "Evan Ray <elray@umass.edu>",
  "Repository": "https://elray1.r-universe.dev",
  "Date/Publication": "2024-09-14 02:52:33 UTC",
  "RemoteUrl": "https://github.com/cran/distfromq",
  "RemoteRef": "HEAD",
  "RemoteSha": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
  "MD5sum": "0cfeb637930cc68d59748188824e570b",
  "_user": "elray1",
  "_type": "src",
  "_file": "distfromq_1.0.4.tar.gz",
  "_fileid": "43007bda1578a2eb528e33d4feaf8f3c4a18eccca770c1be0d2b164f505b27ce",
  "_filesize": 1203499,
  "_sha256": "43007bda1578a2eb528e33d4feaf8f3c4a18eccca770c1be0d2b164f505b27ce",
  "_created": "2026-05-16T09:34:53.000Z",
  "_published": "2026-06-02T18:02:16.643Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79138306866,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7032361037"
    },
    {
      "job": 79138306791,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032360735"
    },
    {
      "job": 79138306921,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7032360427"
    },
    {
      "job": 79138306652,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032361135"
    },
    {
      "job": 79138306194,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032347465"
    },
    {
      "job": 79138306195,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365862728"
    },
    {
      "job": 79138306940,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7032359248"
    },
    {
      "job": 79138307019,
      "time": 64,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7032354877"
    },
    {
      "job": 79138306765,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032355668"
    }
  ],
  "_buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/distfromq",
  "_commit": {
    "id": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
    "author": "Evan Ray <elray@umass.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1726282353
  },
  "_maintainer": {
    "name": "Evan Ray",
    "email": "elray@umass.edu",
    "login": "elray1",
    "uuid": 5132208
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "zeallot",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "elray1",
      "count": 1,
      "uuid": 5132208
    }
  ],
  "_userbio": {
    "uuid": 5132208,
    "type": "user",
    "name": "Evan Ray",
    "description": "Research Assistant Professor"
  },
  "_downloads": {
    "count": 326,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/distfromq"
  },
  "_pkgdown": "http://reichlab.io/distfromq/",
  "_searchresults": 50,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/distfromq.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "elray1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.4",
      "date": "2024-09-13"
    }
  ],
  "_exports": [
    "duplicated_tol",
    "make_d_fn",
    "make_p_fn",
    "make_q_fn",
    "make_r_fn",
    "split_disc_cont_ps_qs",
    "unique_tol"
  ],
  "_help": [
    {
      "page": "duplicated_tol",
      "title": "Identify duplicated values in a sorted numeric vector, where comparison is up to a specified numeric tolerance. If there is a run of values where each consecutive pair is closer together than the tolerance, all are labeled as duplicates even if not all values in the run are within the tolerance.",
      "topics": [
        "duplicated_tol"
      ]
    },
    {
      "page": "get_dup_run_inds",
      "title": "Get indices of starts and ends of runs of duplicate values",
      "topics": [
        "get_dup_run_inds"
      ]
    },
    {
      "page": "make_d_fn",
      "title": "Creates a function that evaluates the probability density function of an approximation to a distribution obtained by interpolating and extrapolating from a set of quantiles of the distribution.",
      "topics": [
        "make_d_fn"
      ]
    },
    {
      "page": "make_p_fn",
      "title": "Creates a function that evaluates the cumulative distribution function of an approximation to a distribution obtained by interpolating and extrapolating from a set of quantiles of the distribution.",
      "topics": [
        "make_p_fn"
      ]
    },
    {
      "page": "make_q_fn",
      "title": "Creates a function that evaluates the quantile function of an approximation to a distribution obtained by interpolating and extrapolating from a set of quantiles of the distribution.",
      "topics": [
        "make_q_fn"
      ]
    },
    {
      "page": "make_r_fn",
      "title": "Creates a function that generates random deviates from an approximation to a distribution obtained by interpolating and extrapolating from a set of quantiles of the distribution.",
      "topics": [
        "make_r_fn"
      ]
    },
    {
      "page": "mono_Hermite_spline",
      "title": "Create a polySpline object representing a monotonic Hermite spline interpolating a given set of points.",
      "topics": [
        "mono_Hermite_spline"
      ]
    },
    {
      "page": "spline_cdf",
      "title": "Approximate density function, CDF, or quantile function on the interior of provided quantiles by representing the distribution as a sum of a discrete part at any duplicated 'qs' and a continuous part for which the CDF is estimated using a monotonic Hermite spline. See details for more.",
      "topics": [
        "spline_cdf"
      ]
    },
    {
      "page": "split_disc_cont_ps_qs",
      "title": "Split ps and qs into those corresponding to discrete and continuous parts of a distribution.",
      "topics": [
        "split_disc_cont_ps_qs"
      ]
    },
    {
      "page": "step_interp_factory",
      "title": "A factory that returns a function that performs linear interpolation, allowing for \"steps\" or discontinuities.",
      "topics": [
        "step_interp_factory"
      ]
    },
    {
      "page": "unique_tol",
      "title": "Get unique values in a sorted numeric vector, where comparison is up to a specified numeric tolerance. If there is a run of values where each consecutive pair is closer together than the tolerance, all are labeled as corresponding to a single unique value even if not all values in the run are within the tolerance.",
      "topics": [
        "unique_tol"
      ]
    }
  ],
  "_readme": "https://github.com/cran/distfromq/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "purrr",
    "rlang",
    "vctrs",
    "zeallot"
  ],
  "_vignettes": [
    {
      "source": "distfromq.Rmd",
      "filename": "distfromq.html",
      "title": "distfromq",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Methods description",
        "CDF estimation on the interior",
        "CDF estimation in the tails",
        "Estimation of the QF and PDF, and random deviate generation",
        "Illustration of package functionality",
        "Example 1",
        "Example 2: lognormal tails with a point mass at 0",
        "Example 3: duplicated quantiles on the interior",
        "Example 4: duplicated quantiles in the tails"
      ],
      "created": "2024-09-14 02:52:33",
      "modified": "2024-09-14 02:52:33",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "distfromq",
  "_universes": [
    "elray1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:53.000Z",
      "distro": "noble",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "61678c1e825c96bf54ec0acd9caf0077fdf093a5d5b66e6c1acd3a87097d0e03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:51.000Z",
      "distro": "noble",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "33afd49879b192f13838c8308e634fe11452e62ecdaeae5c18abd6d8cea8026e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:52.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "a4e5f0b0b5fda06704beff2a4687fd83529fb2f9dc522b859e2225b9ed69f7b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:52.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "f238862312c8f78002cd7ab974e02411880f77aa2d1e7eb3e90d0845d8c927f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:34.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "edf16ea8928d69df45f610e2b44402434e95a075e720410eaefccb7c429a7bc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-16T09:35:56.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "9c97da5b568399c4b9872b05116159272dda5f8e7725eb0a9d08af2b08ceb14b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-16T09:36:02.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "98a378c0613c76aa28dfe68dee7fdc948611ab8ba941edffb4b4d54cdfef8dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-06-02T18:01:37.000Z",
      "commit": "1c091a673991daf6acfca4f63e1da0f45a264cd8",
      "fileid": "71e05bfc3cc8a85e7d938bd850b58ee3c3303bd1ef3856a66a84f1e1290720f2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/elray1/actions/runs/25958523969"
    }
  ]
}