{
  "_id": "6a1ed72bb401979e7340eceb",
  "Package": "RVCompare",
  "Type": "Package",
  "Title": "Compare Real Valued Random Variables",
  "Version": "0.1.8",
  "Author": "Etor Arza",
  "Maintainer": "Etor Arza <etorarza@gmail.com>",
  "Description": "A framework with tools to compare two random variables via\nstochastic dominance. See the README.md at\n<https://github.com/EtorArza/RVCompare> for a quick start\nguide. It can compute the Cp and Cd of two probability\ndistributions and the Cumulative Difference Plot as explained\nin E. Arza (2022) <doi:10.1080/10618600.2022.2084405>. Uses\nbootstrap or DKW-bounds to compute the confidence bands of the\ncumulative distributions. These two methods are described in B.\nEfron. (1979) <doi:10.1214/aos/1176344552> and P. Massart\n(1990) <doi:10.1214/aop/1176990746>.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "URL": "https://github.com/EtorArza/RVCompare",
  "BugReports": "https://github.com/EtorArza/RVCompare/issues",
  "Repository": "https://etorarza.r-universe.dev",
  "Date/Publication": "2025-01-07 22:44:14 UTC",
  "RemoteUrl": "https://github.com/etorarza/rvcompare",
  "RemoteRef": "HEAD",
  "RemoteSha": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 10:04:57 UTC",
    "User": "root"
  },
  "MD5sum": "b4d904cef2b7847ba0908af81706db6b",
  "_user": "etorarza",
  "_type": "src",
  "_file": "RVCompare_0.1.8.tar.gz",
  "_fileid": "e794cfb7f72ccd61ad6841896763b66bc9960e78fa0b98931405435fcac51ea6",
  "_filesize": 642679,
  "_sha256": "e794cfb7f72ccd61ad6841896763b66bc9960e78fa0b98931405435fcac51ea6",
  "_created": "2026-05-20T10:04:57.000Z",
  "_published": "2026-06-02T13:14:19.714Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79078908700,
      "time": 123,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7107084423"
    },
    {
      "job": 79078908572,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7107087186"
    },
    {
      "job": 79078909400,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7107084710"
    },
    {
      "job": 79078908749,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7107079446"
    },
    {
      "job": 79078909103,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7107096324"
    },
    {
      "job": 79078908905,
      "time": 342,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7107149630"
    },
    {
      "job": 79078908695,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7107082157"
    },
    {
      "job": 79078908510,
      "time": 236,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7107114748"
    },
    {
      "job": 79078908421,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7107040411"
    },
    {
      "job": 79078907818,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358675891"
    },
    {
      "job": 79078908690,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7107083991"
    },
    {
      "job": 79078909025,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7107075774"
    },
    {
      "job": 79078908583,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7107077190"
    }
  ],
  "_buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/etorarza/rvcompare",
  "_commit": {
    "id": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
    "author": "Etor <44847157+EtorArza@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from olivroy/patch-1\n\nAdd URL to DESCRIPTION",
    "time": 1736289854
  },
  "_maintainer": {
    "name": "Etor Arza",
    "email": "etorarza@gmail.com",
    "login": "etorarza",
    "orcid": "0000-0002-8044-0334",
    "description": "I like coding, and sometimes, I get paid for it.",
    "uuid": 44847157
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "version": ">= 3.4.4",
      "role": "Depends"
    },
    {
      "package": "pracma",
      "version": ">= 2.2.2",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "version": ">= 3.0.3",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 3.4.4",
      "role": "Imports"
    }
  ],
  "_owner": "etorarza",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "etorarza",
      "count": 57,
      "uuid": 44847157
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 44847157,
    "type": "user",
    "name": "Etor",
    "description": "I like coding, and sometimes, I get paid for it."
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RVCompare"
  },
  "_devurl": "https://github.com/etorarza/rvcompare",
  "_searchresults": 13,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RVCompare.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/etorarza/rvcompare",
  "_realowner": "etorarza",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2021-05-17"
    },
    {
      "version": "0.1.5",
      "date": "2021-08-22"
    },
    {
      "version": "0.1.6",
      "date": "2022-05-28"
    },
    {
      "version": "0.1.7",
      "date": "2023-05-13"
    },
    {
      "version": "0.1.8",
      "date": "2023-08-21"
    }
  ],
  "_exports": [
    "CdFromDensities",
    "CdFromProbMassFunctions",
    "CpFromDensities",
    "cumulative_difference_plot",
    "cumulativeFromDensity",
    "get_Y_AB_bounds_bootstrap",
    "get_Y_AB_bounds_DKW",
    "getEmpiricalCumulativeDistributions",
    "helper_from_ranks_to_integrable_values",
    "helperTrapezoidRule",
    "isFunctionDensity",
    "mixtureDensity",
    "normalDensity",
    "plot_Y_AB",
    "sampleFromDensity",
    "uniformDensity",
    "xHasEnoughValues"
  ],
  "_help": [
    {
      "page": "CdFromDensities",
      "title": "The dominance rate of X_A over X_B given the density functions.",
      "topics": [
        "CdFromDensities"
      ]
    },
    {
      "page": "CdFromProbMassFunctions",
      "title": "The dominance rate of X_A over X_B for discrete distributions, given the probability mass functions.",
      "topics": [
        "CdFromProbMassFunctions"
      ]
    },
    {
      "page": "CpFromDensities",
      "title": "The probability that X_A < X_B given the density functions.",
      "topics": [
        "CpFromDensities"
      ]
    },
    {
      "page": "cpp_helper_from_ranks_to_integrable_values",
      "title": "Helper function for from_ranks_to_integrable_values",
      "topics": [
        "cpp_helper_from_ranks_to_integrable_values"
      ]
    },
    {
      "page": "cumulative_difference_plot",
      "title": "Generate the cumulative difference-plot",
      "topics": [
        "cumulative_difference_plot"
      ]
    },
    {
      "page": "get_Y_AB_bounds_bootstrap",
      "title": "Estimate Y_A and Y_B bounds with bootstrap",
      "topics": [
        "get_Y_AB_bounds_bootstrap"
      ]
    },
    {
      "page": "get_Y_AB_bounds_DKW",
      "title": "Estimate Y_A and Y_B bounds with Dvoretzky–Kiefer–Wolfowitz",
      "topics": [
        "get_Y_AB_bounds_DKW"
      ]
    },
    {
      "page": "getEmpiricalCumulativeDistributions",
      "title": "Get the empirical distribution from samples.",
      "topics": [
        "getEmpiricalCumulativeDistributions"
      ]
    },
    {
      "page": "isFunctionDensity",
      "title": "Check if a function is a (non-discrete) probability density function in a given domain.",
      "topics": [
        "isFunctionDensity"
      ]
    },
    {
      "page": "isXlimsValid",
      "title": "Check if xlims is a tuple that represents a valid bounded interval in the real space.",
      "topics": [
        "isXlimsValid"
      ]
    },
    {
      "page": "mixtureDensity",
      "title": "A mixture of two or more distributions",
      "topics": [
        "mixtureDensity"
      ]
    },
    {
      "page": "normalDensity",
      "title": "The probability density function of the normal distribution",
      "concept": [
        "probability density distributions"
      ],
      "topics": [
        "normalDensity"
      ]
    },
    {
      "page": "plot_Y_AB",
      "title": "Plot the estimated cdf of Y_A and Y_B or their difference",
      "topics": [
        "plot_Y_AB"
      ]
    },
    {
      "page": "RVCompare",
      "title": "RVCompare: Compare Real Valued Random Variables",
      "topics": [
        "RVCompare-package",
        "RVCompare"
      ]
    },
    {
      "page": "sampleFromDensity",
      "title": "Get sample given the density function",
      "topics": [
        "sampleFromDensity"
      ]
    },
    {
      "page": "uniformDensity",
      "title": "The probability density function of the uniform distribution",
      "concept": [
        "probability density distributions"
      ],
      "topics": [
        "uniformDensity"
      ]
    },
    {
      "page": "xHasEnoughValues",
      "title": "Check for enough values.",
      "topics": [
        "xHasEnoughValues"
      ]
    }
  ],
  "_readme": "https://github.com/etorarza/rvcompare/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3.113943352306837,
  "_indexed": true,
  "_nocasepkg": "rvcompare",
  "_universes": [
    "etorarza"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "57c3039cb18c54c602c1dc3cbcf046e7e12d21dae408c42b6ba9d2a60b8f2f4b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-20T10:07:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "6fe15bf8beae35f95d07040ee267fedb27e2ef4a47716e3b2fc47f0e70318046",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-20T10:07:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "6a85cafa46e4f866f4d884d0c1ef4d199080113ca911d66733a5ca2eae424bde",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:43.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "0979f9dcc34188392881137630a9769920dbdc9e049e664a234d8b7fdef8aa43",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-20T10:07:33.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "63488d1c08dabc15ce252331e6af7e6723d98b63b8572489a490499be1d2f76a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-20T10:09:31.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "5fae9ee0fdad7755ca122c8bec0b14f625bad3632972f7d6424b1eb74f6841ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:58.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "b83541d58414af94f0c2e86dc238f459946ca342c285c6c9981706444cb7c7ba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-20T10:08:06.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "578f238257f06ddc47b0eb64f7136990371199ee7d0a3f8e1c132779d0b70cba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:27.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "16c2ad371eb6b3842947b69446ca2c3b701ad73bd7ff2a0a561db797084a3a86",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:09.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "ab1b1071903733c4967967d223eedf3783cee681f1f9ae74e48979c71ba510cf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-20T10:06:11.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "50626a62bddc884042f97bf056073f3fcc4675ddabef1468d6fc2f04e60e983f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-06-02T13:13:58.000Z",
      "arch": "emscripten",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "f517ce538b2e26044b34bd0b9c43203bc8146cad2fd6776b8a4e31d790e45776",
      "status": "success",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/26155485563"
    }
  ]
}