{
  "_id": "6a12b73dacfb0bcc41d1aeee",
  "Package": "AR",
  "Type": "Package",
  "Title": "Another Look at the Acceptance-Rejection Method",
  "Version": "1.1",
  "Date": "2018-05-02",
  "Author": "Abbas Parchami (Department of Statistics, Faculty of\nMathematics and Computer, Shahid Bahonar University of Kerman,\nKerman, Iran)",
  "Maintainer": "Abbas Parchami <parchami@uk.ac.ir>",
  "Description": "In mathematics, 'rejection sampling' is a basic technique\nused to generate observations from a distribution. It is also\ncommonly called 'the Acceptance-Rejection method' or\n'Accept-Reject algorithm' and is a type of Monte Carlo method.\n'Acceptance-Rejection method' is based on the observation that\nto sample a random variable one can perform a uniformly random\nsampling of the 2D cartesian graph, and keep the samples in the\nregion under the graph of its density function. Package 'AR' is\nable to generate/simulate random data from a probability\ndensity function by Acceptance-Rejection method. Moreover, this\npackage is a useful teaching resource for graphical\npresentation of Acceptance-Rejection method. From the practical\npoint of view, the user needs to calculate a constant in\nAcceptance-Rejection method, which package 'AR' is able to\ncompute this constant by optimization tools. Several numerical\nexamples are provided to illustrate the graphical presentation\nfor the Acceptance-Rejection Method.",
  "License": "LGPL (>= 3)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 08:28:44 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2018-05-02 02:54:28 UTC",
  "RemoteUrl": "https://github.com/cran/AR",
  "RemoteRef": "HEAD",
  "RemoteSha": "9df3a55d9f2dc8c16269591060bfb914ec700828",
  "MD5sum": "9ebeddd6a7ae5e095b1cdf87873b96bf",
  "_user": "cran",
  "_type": "src",
  "_file": "AR_1.1.tar.gz",
  "_fileid": "0ba00230c00dc727320ba199e377fd42dd271cd4e348a975aca335ccb592a314",
  "_filesize": 175828,
  "_sha256": "0ba00230c00dc727320ba199e377fd42dd271cd4e348a975aca335ccb592a314",
  "_created": "2026-05-24T08:28:44.000Z",
  "_published": "2026-05-24T08:30:53.377Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77583724583,
      "time": 95,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183661857"
    },
    {
      "job": 77583724573,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183662585"
    },
    {
      "job": 77583585173,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183652360"
    },
    {
      "job": 77583724553,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183661769"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26356313043",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/AR",
  "_commit": {
    "id": "9df3a55d9f2dc8c16269591060bfb914ec700828",
    "author": "Abbas Parchami <parchami@uk.ac.ir>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1\n",
    "time": 1525229668
  },
  "_maintainer": {
    "name": "Abbas Parchami",
    "email": "parchami@uk.ac.ir"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "DISTRIB",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 130,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AR"
  },
  "_mentions": 533,
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2017-05-18"
    },
    {
      "version": "1.1",
      "date": "2018-05-02"
    }
  ],
  "_exports": [
    "AR.Sim"
  ],
  "_help": [
    {
      "page": "AR-package",
      "title": "Another Look at the Acceptance-Rejection Method",
      "topics": [
        "AR-package",
        "AR"
      ]
    },
    {
      "page": "AR.Sim",
      "title": "Graphical Visualization for Accept-Reject Method",
      "topics": [
        "AR.Sim"
      ]
    }
  ],
  "_rundeps": [
    "DISTRIB"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "ar",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-24T08:30:25.000Z",
      "distro": "noble",
      "commit": "9df3a55d9f2dc8c16269591060bfb914ec700828",
      "fileid": "3188cb2ee7b9495217956d0f0a051376943964960aa29ccea6057f3566a43270",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356313043"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-24T08:30:31.000Z",
      "distro": "noble",
      "commit": "9df3a55d9f2dc8c16269591060bfb914ec700828",
      "fileid": "fe07ff9505f878bbace94b7da633183924af1a572eb59ebfd65b2f338527a87e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356313043"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-05-24T08:30:33.000Z",
      "commit": "9df3a55d9f2dc8c16269591060bfb914ec700828",
      "fileid": "3e4b009b625a5efd02a2bc68c72dc516f8dade6b15d80b5f3d923213f68a7735",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26356313043"
    }
  ]
}