{
  "_id": "6ad3177f90c8bbdf41a50f65",
  "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-10-17 06:30:11 UTC",
    "User": "root"
  },
  "_user": "etorarza",
  "_type": "src",
  "_file": "RVCompare_0.1.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/9ca0a30d38d5d41d052d43f2c3197f0bdc93a955ebe4b9b5b3f3d2f8794c760a",
  "_filesize": 647750,
  "_sha256": "9ca0a30d38d5d41d052d43f2c3197f0bdc93a955ebe4b9b5b3f3d2f8794c760a",
  "_expires": "2027-01-25T06:36:45.000Z",
  "_created": "2026-10-17T06:30:11.000Z",
  "_published": "2026-10-17T06:36:47.243Z",
  "_buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117330848397,
      "time": 135,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092901112"
    },
    {
      "job": 117330848340,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092995624"
    },
    {
      "job": 117330848351,
      "time": 108,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092398316"
    },
    {
      "job": 117330848368,
      "time": 107,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092541591"
    },
    {
      "job": 117330848405,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12092840745"
    },
    {
      "job": 117330848357,
      "time": 233,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12093080548"
    },
    {
      "job": 117330848353,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092676140"
    },
    {
      "job": 117330848423,
      "time": 286,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092289489"
    },
    {
      "job": 117330179106,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092423075"
    },
    {
      "job": 117330848391,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12092985668"
    },
    {
      "job": 117330848442,
      "time": 344,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092727280"
    },
    {
      "job": 117330848369,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092383385"
    },
    {
      "job": 117330848482,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12092093305"
    },
    {
      "job": 117330848366,
      "time": 352,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092671447"
    },
    {
      "job": 117330848383,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12092169793"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 14,
    "description": "I like coding, and sometimes, I get paid for it."
  },
  "_downloads": {
    "count": 277,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RVCompare"
  },
  "_devurl": "https://github.com/etorarza/rvcompare",
  "_searchresults": 15,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RVCompare.html"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "rvcompare",
  "_universes": [
    "etorarza"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-17T06:32:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/70b2b6ad08a0e26f346566872a72891f876de2c5d17a97eddd481919235b1787",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-17T06:31:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/9b4388a5228afba2af3add12f4d5ee9b025c36c02db130e94f908d9a1b15c6e8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-17T06:32:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/49e09a4795168cf48953584e72252c1ba4db65f72366b87dce37d7c2fc47728f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-17T06:31:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/3790c9dc0d98405e1a3d8585c25a22bdee5b3b424f5c984e72413d26f3ef6be7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-17T06:32:51.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/f5c250bd9186219a239f5a3017cbea595aa0b634bdaf6fbb6a794e186ff4048b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-17T06:33:35.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/93e152bf15f1e3b322deffa4bd7dbee52e5cda00baa88c07cad7384fa655c775",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-17T06:32:01.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/62f7c192c8444992496eded5554f2335f54b4e230035e98a4df75cb2891d963c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-17T06:34:08.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/a1071915201b86b70d31fafba911205b86a82c1206625ab5a973c5b2d9cf94db",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-10-17T06:32:08.000Z",
      "arch": "emscripten",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/d3850baa12f9b59c7f945be7f8fee0db1dd564613ce942fe19669899706b5d81",
      "status": "success",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-17T06:35:10.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/2f5ae4c0d5d0aa2e838e438b71a318bf164d02a6e09c2d6ccefcb57197472cfe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-17T06:31:35.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/d025805d8d02766a7f6d74e6158078b6babcee9176ad3996e352ce318643055f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-17T06:31:22.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/a6c0d0574ffd40921b795d4aa3f686d9aa74a672779a790602ee3b5adf7d8ace",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-17T06:35:08.000Z",
      "arch": "aarch64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/4da6e7869ce88f186a48b90c617ed7be4827c5637cbcc707b52882ed3724d240",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-17T06:31:13.000Z",
      "arch": "x86_64",
      "commit": "abd51d23f5f4b699ddd8376e02ba6138f49468a4",
      "fileid": "https://r2.ropensci.org/60c68c0d2fce2dc60a494672b5ef44f87b606995e890fec0a8615b33cd7c7edd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/etorarza/actions/runs/39009932259"
    }
  ]
}