{
  "_id": "6ac8b127de46216d5edd5b92",
  "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-10-09 09:13:27 UTC",
    "User": "root"
  },
  "Author": "Tore Wentzel-Larsen [aut, cre],\nJacob Anhøj [aut]",
  "Maintainer": "Tore Wentzel-Larsen <tore.wentzellarsen@gmail.com>",
  "_user": "torewentzel-larsen",
  "_type": "src",
  "_file": "crossrun_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/40b31b5511cfd9655c1440aef308f7974123e8dbe2b897d8ed2ee2191fe4e760",
  "_filesize": 696917,
  "_sha256": "40b31b5511cfd9655c1440aef308f7974123e8dbe2b897d8ed2ee2191fe4e760",
  "_expires": "2027-01-17T09:17:25.000Z",
  "_created": "2026-10-09T09:13:27.000Z",
  "_published": "2026-10-09T09:17:27.077Z",
  "_buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113752329287,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11605974344"
    },
    {
      "job": 113752329196,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605694820"
    },
    {
      "job": 113752329403,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11605534560"
    },
    {
      "job": 113752329392,
      "time": 195,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605458844"
    },
    {
      "job": 113751018720,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605124879"
    },
    {
      "job": 113752329273,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11605729268"
    },
    {
      "job": 113752329322,
      "time": 53,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11606475037"
    },
    {
      "job": 113752329203,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11606236109"
    },
    {
      "job": 113752329276,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11606275883"
    }
  ],
  "_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",
    "description": "Statistician at www.r-bup.no and www.nkvts.no",
    "uuid": 42468973
  },
  "_distro": "resolute",
  "_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",
    "followers": 1,
    "description": "Statistician at www.r-bup.no and www.nkvts.no"
  },
  "_downloads": {
    "count": 318,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/crossrun"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/torewentzel-larsen/crossrun",
  "_searchresults": 14,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/crossrun.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.447158031342219,
  "_indexed": true,
  "_nocasepkg": "crossrun",
  "_universes": [
    "torewentzel-larsen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T09:15:19.000Z",
      "distro": "resolute",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/734252d80591b1c83de5d07ec3b2fbedb09c773183508835729d060a9d691929",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T09:15:22.000Z",
      "distro": "resolute",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/4ed8f6e5558e5119c9f69fdeeb67dc973093c1563dca5317c28e6acb3b99bf58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T09:15:54.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/c7d9c52aeb76e58f4f7e93a58332dcc40faa6bcb64bf02187577f719f026e779",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T09:16:01.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/8e3a9e2069e3a8406b7141f0b117b6762cc2d7135618bdd689080cebe54ce415",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-09T09:15:33.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/badfbedab0f456fddf7358252df6389b4d9701a082426d41a2a975fba655d2c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T09:14:22.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/0a599bee1d84dd2e387bd89d424a5b997060275b4053cd9a12bdc295ceb45d95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T09:14:39.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/eed5029c15e044463ae6ffa87352e84f61eb303d4dc2479bd88343fbad585d34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T09:14:38.000Z",
      "commit": "025e990193facbe6fff9e16f3e8705ef71b579da",
      "fileid": "https://r2.ropensci.org/389f71a26c9d290845cac8a9d3587997ebb1c0a78464e1c794e6ee61292af944",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/torewentzel-larsen/actions/runs/37909480967"
    }
  ]
}