{
  "_id": "6a103621acfb0bcc41c99f32",
  "Package": "crossrun",
  "Version": "0.1.1",
  "Title": "Joint Distribution of Number of Crossings and Longest Run",
  "Authors@R": "c(person(\"Tore\",\"Wentzel-Larsen\",email=\"tore.wentzellarsen@gmail.com\",role=c(\"aut\",\"cre\")),\nperson(\"Jacob\", \"Anhøj\", email=\"jacob@anhoej.net\", role=\"aut\"))",
  "Description": "Joint distribution of number of crossings and the longest\nrun in a series of independent Bernoulli trials. The\ncomputations uses an iterative procedure where computations are\nbased on results from shorter series. The procedure conditions\non the start value and partitions by further conditioning on\nthe position of the first crossing (or none).",
  "License": "GPL-3",
  "URL": "https://github.com/ToreWentzel-Larsen/crossrun",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgmp3-dev libmpfr-dev",
  "Repository": "https://torewentzel-larsen.r-universe.dev",
  "Date/Publication": "2022-04-12 14:59:07 UTC",
  "RemoteUrl": "https://github.com/torewentzel-larsen/crossrun",
  "RemoteRef": "HEAD",
  "RemoteSha": "025e990193facbe6fff9e16f3e8705ef71b579da",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 06:57:02 UTC",
    "User": "root"
  },
  "Author": "Tore Wentzel-Larsen [aut, cre],\nJacob Anhøj [aut]",
  "Maintainer": "Tore Wentzel-Larsen <tore.wentzellarsen@gmail.com>",
  "MD5sum": "901011c8d54378163c3f53e4f1e2abb3",
  "_user": "torewentzel-larsen",
  "_type": "src",
  "_file": "crossrun_0.1.1.tar.gz",
  "_fileid": "73efdef5c872c0cd770f67dff23dc8351aab92f12606bf3d635609dc6af2a934",
  "_filesize": 695730,
  "_sha256": "73efdef5c872c0cd770f67dff23dc8351aab92f12606bf3d635609dc6af2a934",
  "_created": "2026-05-12T06:57:02.000Z",
  "_published": "2026-05-22T10:55:29.256Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77365669237,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937655053"
    },
    {
      "job": 77365669644,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937654090"
    },
    {
      "job": 77365669711,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937668526"
    },
    {
      "job": 77365669634,
      "time": 143,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937648423"
    },
    {
      "job": 77365669029,
      "time": 218,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937617168"
    },
    {
      "job": 77365669019,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158808963"
    },
    {
      "job": 77365669540,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937638487"
    },
    {
      "job": 77365669641,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937637859"
    },
    {
      "job": 77365669695,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937637435"
    }
  ],
  "_buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/torewentzel-larsen/crossrun",
  "_commit": {
    "id": "025e990193facbe6fff9e16f3e8705ef71b579da",
    "author": "anhoej <jacob@anhoej.net>",
    "committer": "anhoej <jacob@anhoej.net>",
    "message": "Fix URLs\n",
    "time": 1649775547
  },
  "_maintainer": {
    "name": "Tore Wentzel-Larsen",
    "email": "tore.wentzellarsen@gmail.com",
    "login": "torewentzel-larsen",
    "uuid": 42468973
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rmpfr",
      "version": ">= 0.7-1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "torewentzel-larsen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "torewentzel-larsen",
      "count": 43,
      "uuid": 42468973
    },
    {
      "user": "anhoej",
      "count": 10,
      "uuid": 4472772
    },
    {
      "user": "esovik",
      "count": 2,
      "uuid": 972827
    }
  ],
  "_userbio": {
    "uuid": 42468973,
    "type": "user",
    "name": "Tore Wentzel-Larsen",
    "description": "Statistician at www.r-bup.no and www.nkvts.no"
  },
  "_downloads": {
    "count": 238,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/crossrun"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/torewentzel-larsen/crossrun",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/crossrun.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/torewentzel-larsen/crossrun",
  "_realowner": "torewentzel-larsen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-10-08"
    },
    {
      "version": "0.1.1",
      "date": "2022-04-13"
    }
  ],
  "_exports": [
    "boxprobt",
    "clshift",
    "crossrunauto",
    "crossrunbin",
    "crossrunchange",
    "crossrunem",
    "crossrunshift",
    "crossrunsymm",
    "cumsumm",
    "cumsummcol",
    "exactbin",
    "simclbin",
    "simclem"
  ],
  "_datasets": [
    {
      "name": "joint100.6",
      "title": "Joint probabilities, n=100, success probability 0.6",
      "object": "joint100.6",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23",
        "24",
        "25",
        "26",
        "27",
        "28",
        "29",
        "30",
        "31",
        "32",
        "33",
        "34",
        "35",
        "36",
        "37",
        "38",
        "39",
        "40",
        "41",
        "42",
        "43",
        "44",
        "45",
        "46",
        "47",
        "48",
        "49",
        "50",
        "51",
        "52",
        "53",
        "54",
        "55",
        "56",
        "57",
        "58",
        "59",
        "60",
        "61",
        "62",
        "63",
        "64",
        "65",
        "66",
        "67",
        "68",
        "69",
        "70",
        "71",
        "72",
        "73",
        "74",
        "75",
        "76",
        "77",
        "78",
        "79",
        "80",
        "81",
        "82",
        "83",
        "84",
        "85",
        "86",
        "87",
        "88",
        "89",
        "90",
        "91",
        "92",
        "93",
        "94",
        "95",
        "96",
        "97",
        "98",
        "99",
        "100"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint100symm",
      "title": "Joint probabilities, n=100, symmetric case",
      "object": "joint100symm",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23",
        "24",
        "25",
        "26",
        "27",
        "28",
        "29",
        "30",
        "31",
        "32",
        "33",
        "34",
        "35",
        "36",
        "37",
        "38",
        "39",
        "40",
        "41",
        "42",
        "43",
        "44",
        "45",
        "46",
        "47",
        "48",
        "49",
        "50",
        "51",
        "52",
        "53",
        "54",
        "55",
        "56",
        "57",
        "58",
        "59",
        "60",
        "61",
        "62",
        "63",
        "64",
        "65",
        "66",
        "67",
        "68",
        "69",
        "70",
        "71",
        "72",
        "73",
        "74",
        "75",
        "76",
        "77",
        "78",
        "79",
        "80",
        "81",
        "82",
        "83",
        "84",
        "85",
        "86",
        "87",
        "88",
        "89",
        "90",
        "91",
        "92",
        "93",
        "94",
        "95",
        "96",
        "97",
        "98",
        "99",
        "100"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint14.6",
      "title": "Joint probabilities, n=14, success probability 0.6",
      "object": "joint14.6",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint14em",
      "title": "Joint probabilities, n=14, around the empirical median",
      "object": "joint14em",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "l=1",
        "l=2",
        "l=3",
        "l=4",
        "l=5",
        "l=6",
        "l=7"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint14symm",
      "title": "Joint probabilities, n=14, symmetric case",
      "object": "joint14symm",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint60.6",
      "title": "Joint probabilities, 60, success probability 0.6",
      "object": "joint60.6",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23",
        "24",
        "25",
        "26",
        "27",
        "28",
        "29",
        "30",
        "31",
        "32",
        "33",
        "34",
        "35",
        "36",
        "37",
        "38",
        "39",
        "40",
        "41",
        "42",
        "43",
        "44",
        "45",
        "46",
        "47",
        "48",
        "49",
        "50",
        "51",
        "52",
        "53",
        "54",
        "55",
        "56",
        "57",
        "58",
        "59",
        "60"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint60em",
      "title": "Joint probabilities, n=60, around the empirical median",
      "object": "joint60em",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "l=1",
        "l=2",
        "l=3",
        "l=4",
        "l=5",
        "l=6",
        "l=7",
        "l=8",
        "l=9",
        "l=10",
        "l=11",
        "l=12",
        "l=13",
        "l=14",
        "l=15",
        "l=16",
        "l=17",
        "l=18",
        "l=19",
        "l=20",
        "l=21",
        "l=22",
        "l=23",
        "l=24",
        "l=25",
        "l=26",
        "l=27",
        "l=28",
        "l=29",
        "l=30"
      ],
      "rows": 59,
      "table": true,
      "tojson": true
    },
    {
      "name": "joint60symm",
      "title": "Joint probabilities, n=60, symmetric case",
      "object": "joint60symm",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10",
        "11",
        "12",
        "13",
        "14",
        "15",
        "16",
        "17",
        "18",
        "19",
        "20",
        "21",
        "22",
        "23",
        "24",
        "25",
        "26",
        "27",
        "28",
        "29",
        "30",
        "31",
        "32",
        "33",
        "34",
        "35",
        "36",
        "37",
        "38",
        "39",
        "40",
        "41",
        "42",
        "43",
        "44",
        "45",
        "46",
        "47",
        "48",
        "49",
        "50",
        "51",
        "52",
        "53",
        "54",
        "55",
        "56",
        "57",
        "58",
        "59",
        "60"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boxprobt",
      "title": "Box Cumulative Sums",
      "topics": [
        "boxprobt"
      ]
    },
    {
      "page": "clshift",
      "title": "Number of Crossings and Longest Run",
      "topics": [
        "clshift"
      ]
    },
    {
      "page": "crossrunauto",
      "title": "Joint Distribution for Crossings and Runs, autocorrelated Sequence",
      "topics": [
        "crossrunauto"
      ]
    },
    {
      "page": "crossrunbin",
      "title": "Joint Distribution for Crossings and Runs",
      "topics": [
        "crossrunbin"
      ]
    },
    {
      "page": "crossrunchange",
      "title": "Joint Distribution for Crossings and Runs, Varying Success Probability.",
      "topics": [
        "crossrunchange"
      ]
    },
    {
      "page": "crossrunem",
      "title": "Joint Distribution for Crossings and Runs Using the Empirical Median.",
      "topics": [
        "crossrunem"
      ]
    },
    {
      "page": "crossrunemcont",
      "title": "Continuation of an existing sequence of joint probabilities for crossings and longest run, based on the empirical median.",
      "topics": [
        "crossrunemcont"
      ]
    },
    {
      "page": "crossrunshift",
      "title": "wrapper for crossrunbin, success probability=pnorm(shift).",
      "topics": [
        "crossrunshift"
      ]
    },
    {
      "page": "crossrunsymm",
      "title": "Joint Probabilities for Crossings and Runs, Symmetric Case",
      "topics": [
        "crossrunsymm"
      ]
    },
    {
      "page": "cumsumm",
      "title": "Row-wise Cumulative Sums",
      "topics": [
        "cumsumm"
      ]
    },
    {
      "page": "cumsummcol",
      "title": "Column-Wise Cumulative Sums",
      "topics": [
        "cumsummcol"
      ]
    },
    {
      "page": "exactbin",
      "title": "Exact Joint Probabilities for Low n",
      "topics": [
        "exactbin"
      ]
    },
    {
      "page": "joint100.6",
      "title": "Joint probabilities, n=100, success probability 0.6",
      "topics": [
        "joint100.6"
      ]
    },
    {
      "page": "joint100symm",
      "title": "Joint probabilities, n=100, symmetric case",
      "topics": [
        "joint100symm"
      ]
    },
    {
      "page": "joint14.6",
      "title": "Joint probabilities, n=14, success probability 0.6",
      "topics": [
        "joint14.6"
      ]
    },
    {
      "page": "joint14em",
      "title": "Joint probabilities, n=14, around the empirical median",
      "topics": [
        "joint14em"
      ]
    },
    {
      "page": "joint14symm",
      "title": "Joint probabilities, n=14, symmetric case",
      "topics": [
        "joint14symm"
      ]
    },
    {
      "page": "joint60.6",
      "title": "Joint probabilities, 60, success probability 0.6",
      "topics": [
        "joint60.6"
      ]
    },
    {
      "page": "joint60em",
      "title": "Joint probabilities, n=60, around the empirical median",
      "topics": [
        "joint60em"
      ]
    },
    {
      "page": "joint60symm",
      "title": "Joint probabilities, n=60, symmetric case",
      "topics": [
        "joint60symm"
      ]
    },
    {
      "page": "simclbin",
      "title": "Simulation of Independent Bernoulli Observations",
      "topics": [
        "simclbin"
      ]
    },
    {
      "page": "simclem",
      "title": "Check of joint probabilities by simulations",
      "topics": [
        "simclem"
      ]
    }
  ],
  "_readme": "https://github.com/torewentzel-larsen/crossrun/raw/HEAD/README.md",
  "_rundeps": [
    "gmp",
    "Rmpfr"
  ],
  "_vignettes": [
    {
      "source": "vignettecrossrun.Rmd",
      "filename": "vignettecrossrun.html",
      "title": "crossrun: An R Package for the Joint Distribution of Number of Crossings and Longest Run in Independent Bernoulli Observations",
      "author": "Tore Wentzel-Larsen, Jacob Anhøj",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The main function: crossrunbin",
        "The \"times\" representation of the joint distributions",
        "The symmetric case: crossrunsymm",
        "Generalisations",
        "Empirical median",
        "Autocorrelated observations",
        "Conclusions",
        "References",
        "Appendix: Checking procedures"
      ],
      "created": "2018-08-23 07:23:46",
      "modified": "2022-04-12 14:59:07",
      "commits": 8
    }
  ],
  "_score": 4.414973347970818,
  "_indexed": true,
  "_nocasepkg": "crossrun",
  "_universes": [
    "torewentzel-larsen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-12T06:59:08.000Z",
      "distro": "noble",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "b66456501190e5533b81e337e7255de3314b7603ee2dd0ce2897ba9c8e11db8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-12T06:59:09.000Z",
      "distro": "noble",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "7024a9f0fd3bd61995c43a7d545353b77ef337b996075a2b6a03640ace125c40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-12T06:59:53.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "eff3a7bd6a60ff09b27c5e43713155c28bb2ab826e74dd80cc95692a923984e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-12T06:58:53.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "093226d24118562fafd56960a8cce695748c2967cb3660058710be99db387f22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-12T06:58:09.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "ca34a7f6225d542339aba2fd82ebc99e9fe8fe281dece8695a8bce7fb80b8c82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-12T06:58:08.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "8a2cc18c61d22d47d7e60262f5ae917cd22c77a1bfc0f8dc2736991c2e143e9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-12T06:58:06.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "3c85a652b6e13a710d4c0c62e126c40f2fdf922bf997668d73415c858cf1b921",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-22T10:55:09.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "8c99a1fc328397157fadd29b458e87d99958ddd0982e7bcf8085e34112e46ce7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/25718547137"
    }
  ]
}