{
  "_id": "6a105260acfb0bcc41ca1775",
  "Package": "probs",
  "Type": "Package",
  "Title": "Elementary Probability on Finite Sample Spaces",
  "Version": "0.9.9",
  "Date": "2024-06-17",
  "Authors@R": "c(person(given = \"G. Jay\", family = \"Kerns\", role = c(\"aut\", \"cph\"), email = \"gkerns@ysu.edu\"), person(given=\"Joe\", family=\"gr. Schlarmann\", role=c(\"cre\"), email=\"schlarmann@produnis.de\"))",
  "Description": "Performs elementary probability calculations on finite\nsample spaces, which may be represented by data frames or\nlists. This package is meant to rescue some widely used\nfunctions from the archived 'prob' package (see\n<https://cran.r-project.org/src/contrib/Archive/prob/>).\nFunctionality includes setting up sample spaces, counting\ntools, defining probability spaces, performing set algebra,\ncalculating probability and conditional probability, tools for\nsimulation and checking the law of large numbers, adding random\nvariables, and finding marginal distributions.  Characteristic\nfunctions for all base R distributions are included.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 09:24:34 UTC",
    "User": "root"
  },
  "Author": "G. Jay Kerns [aut, cph], Joe gr. Schlarmann [cre]",
  "Maintainer": "Joe gr. Schlarmann <schlarmann@produnis.de>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-06-21 02:43:11 UTC",
  "RemoteUrl": "https://github.com/cran/probs",
  "RemoteRef": "HEAD",
  "RemoteSha": "56ae58f6743132dc7a0482a57b551d1384f4ae44",
  "MD5sum": "ee47cf830f8011f8296190c8622f6159",
  "_user": "cran",
  "_type": "src",
  "_file": "probs_0.9.9.tar.gz",
  "_fileid": "21d2746233728105f06989faaa4fcd0b53fdc7db37ca344d2819b36243c02fff",
  "_filesize": 244011,
  "_sha256": "21d2746233728105f06989faaa4fcd0b53fdc7db37ca344d2819b36243c02fff",
  "_created": "2026-05-09T09:24:34.000Z",
  "_published": "2026-05-22T12:56:00.724Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77383755788,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894635103"
    },
    {
      "job": 77383756405,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894633946"
    },
    {
      "job": 77383755557,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894624322"
    },
    {
      "job": 77383755510,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160994003"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25597567714",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/probs",
  "_commit": {
    "id": "56ae58f6743132dc7a0482a57b551d1384f4ae44",
    "author": "Joe gr. Schlarmann <schlarmann@produnis.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.9\n",
    "time": 1718937791
  },
  "_maintainer": {
    "name": "Joe gr. Schlarmann",
    "email": "schlarmann@produnis.de"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "combinat",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "reshape",
      "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": 2074,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/probs"
  },
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/probs.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.9",
      "date": "2024-06-20"
    }
  ],
  "_exports": [
    "addrv",
    "cards",
    "countrep",
    "empirical",
    "euchredeck",
    "gen2wayTable",
    "genIndepTable",
    "genLogRegData",
    "genXdata",
    "iidspace",
    "intersect",
    "is.probspace",
    "isin",
    "isrep",
    "marginal",
    "noorder",
    "nsamp",
    "permsn",
    "Prob",
    "probspace",
    "rolldie",
    "roulette",
    "setdiff",
    "sim",
    "tosscoin",
    "union",
    "urnsamples"
  ],
  "_help": [
    {
      "page": "addrv",
      "title": "Adding Random Variables to a Probability Space",
      "topics": [
        "addrv"
      ]
    },
    {
      "page": "cards",
      "title": "A Standard Set of Playing Cards",
      "topics": [
        "cards"
      ]
    },
    {
      "page": "countrep",
      "title": "Count Repetitions Counts the number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "countrep"
      ]
    },
    {
      "page": "countrep.data.frame",
      "title": "Count Repetitions Counts the number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "countrep.data.frame"
      ]
    },
    {
      "page": "countrep.default",
      "title": "Count Repetitions Counts the number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "countrep.default"
      ]
    },
    {
      "page": "empirical",
      "title": "Empirical Summary of a Simulation",
      "topics": [
        "empirical"
      ]
    },
    {
      "page": "euchredeck",
      "title": "A Deck of Playing Cards for Euchre",
      "topics": [
        "euchredeck"
      ]
    },
    {
      "page": "gen2wayTable",
      "title": "Generate Two-way Tables",
      "topics": [
        "gen2wayTable"
      ]
    },
    {
      "page": "genIndepTable",
      "title": "Generate Independent Two-way Table",
      "topics": [
        "genIndepTable"
      ]
    },
    {
      "page": "genLogRegData",
      "title": "Generate data for logistic regression",
      "topics": [
        "genLogRegData"
      ]
    },
    {
      "page": "genXdata",
      "title": "Generate continuous model matrix data",
      "topics": [
        "genXdata"
      ]
    },
    {
      "page": "iidspace",
      "title": "Independent Identical Experiments Sets up a probability space corresponding to independent, identical experiments.",
      "topics": [
        "iidspace"
      ]
    },
    {
      "page": "intersect",
      "title": "Intersection of Subsets Calculates the intersection of subsets of a probability space.  Comparisons are made row-wise, so that in the data frame case, 'intersect(A,B)' is a data frame with those rows that are both in 'A' and in 'B'.",
      "topics": [
        "intersect"
      ]
    },
    {
      "page": "intersect.data.frame",
      "title": "Intersection of Subsets Calculates the intersection of subsets of a probability space.  Comparisons are made row-wise, so that in the data frame case, 'intersect(A,B)' is a data frame with those rows that are both in 'A' and in 'B'.",
      "topics": [
        "intersect.data.frame"
      ]
    },
    {
      "page": "intersect.default",
      "title": "Intersection of Subsets Calculates the intersection of subsets of a probability space.  Comparisons are made row-wise, so that in the data frame case, 'intersect(A,B)' is a data frame with those rows that are both in 'A' and in 'B'.",
      "topics": [
        "intersect.default"
      ]
    },
    {
      "page": "intersect.ps",
      "title": "Intersection of Subsets Calculates the intersection of subsets of a probability space.  Comparisons are made row-wise, so that in the data frame case, 'intersect(A,B)' is a data frame with those rows that are both in 'A' and in 'B'.",
      "topics": [
        "intersect.ps"
      ]
    },
    {
      "page": "is.probspace",
      "title": "Testing for a Probability Space Decides whether a given object is a probability space.",
      "topics": [
        "is.probspace"
      ]
    },
    {
      "page": "isin",
      "title": "Test Whether One Vector Is In Another Vector",
      "topics": [
        "isin"
      ]
    },
    {
      "page": "isin.data.frame",
      "title": "Test Whether One Vector Is In Another Vector",
      "topics": [
        "isin.data.frame"
      ]
    },
    {
      "page": "isin.default",
      "title": "Test Whether One Vector Is In Another Vector",
      "topics": [
        "isin.default"
      ]
    },
    {
      "page": "isrep",
      "title": "Is Repeated in a Vector Tests for a certain number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "isrep"
      ]
    },
    {
      "page": "isrep.data.frame",
      "title": "Is Repeated in a Vector Tests for a certain number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "isrep.data.frame"
      ]
    },
    {
      "page": "isrep.default",
      "title": "Is Repeated in a Vector Tests for a certain number of repetitions of 'vals' in a given vector 'x'.",
      "topics": [
        "isrep.default"
      ]
    },
    {
      "page": "marginal",
      "title": "Marginal Distributions",
      "topics": [
        "marginal"
      ]
    },
    {
      "page": "noorder",
      "title": "Sort and Merge Probability Space Outcomes",
      "topics": [
        "noorder"
      ]
    },
    {
      "page": "nsamp",
      "title": "Number of Samples from an Urn",
      "topics": [
        "nsamp"
      ]
    },
    {
      "page": "permsn",
      "title": "Generate All Permutations of x Elements Taken m at a Time",
      "topics": [
        "permsn"
      ]
    },
    {
      "page": "Prob",
      "title": "Probability and Conditional Probability Calculates probability and conditional probability of events.",
      "topics": [
        "Prob"
      ]
    },
    {
      "page": "Prob.default",
      "title": "Probability and Conditional Probability Calculates probability and conditional probability of events.",
      "topics": [
        "Prob.default"
      ]
    },
    {
      "page": "Prob.ps",
      "title": "Probability and Conditional Probability Calculates probability and conditional probability of events.",
      "topics": [
        "Prob.ps"
      ]
    },
    {
      "page": "probspace",
      "title": "Probability Spaces Forms a probability space from a set of outcomes and (optional) vector of probabilities.",
      "topics": [
        "probspace"
      ]
    },
    {
      "page": "probspace.default",
      "title": "Probability Spaces Forms a probability space from a set of outcomes and (optional) vector of probabilities.",
      "topics": [
        "probspace.default"
      ]
    },
    {
      "page": "probspace.list",
      "title": "Probability Spaces Forms a probability space from a set of outcomes and (optional) vector of probabilities.",
      "topics": [
        "probspace.list"
      ]
    },
    {
      "page": "rolldie",
      "title": "Rolling a Die",
      "topics": [
        "rolldie"
      ]
    },
    {
      "page": "roulette",
      "title": "Roulette",
      "topics": [
        "roulette"
      ]
    },
    {
      "page": "setdiff",
      "title": "Set Difference of Subsets Calculates the (nonsymmetric) set difference of subsets of a probability space.",
      "topics": [
        "setdiff"
      ]
    },
    {
      "page": "setdiff.data.frame",
      "title": "Set Difference of Subsets Calculates the (nonsymmetric) set difference of subsets of a probability space.",
      "topics": [
        "setdiff.data.frame"
      ]
    },
    {
      "page": "setdiff.default",
      "title": "Set Difference of Subsets Calculates the (nonsymmetric) set difference of subsets of a probability space.",
      "topics": [
        "setdiff.default"
      ]
    },
    {
      "page": "setdiff.ps",
      "title": "Set Difference of Subsets Calculates the (nonsymmetric) set difference of subsets of a probability space.",
      "topics": [
        "setdiff.ps"
      ]
    },
    {
      "page": "sim",
      "title": "Simulate Draws from a Sample Space",
      "topics": [
        "sim",
        "sim.default",
        "sim.ps"
      ]
    },
    {
      "page": "subset.ps",
      "title": "Subsets of Probability Spaces This is a method for 'subset()' for the case when the input object is a probability space of class 'ps'.",
      "topics": [
        "subset.ps"
      ]
    },
    {
      "page": "tosscoin",
      "title": "Tossing a Coin",
      "topics": [
        "tosscoin"
      ]
    },
    {
      "page": "union",
      "title": "Union of Subsets Calculates the union of subsets of a probability space.",
      "topics": [
        "union"
      ]
    },
    {
      "page": "union.data.frame",
      "title": "Union of Subsets Calculates the union of subsets of a probability space.",
      "topics": [
        "union.data.frame"
      ]
    },
    {
      "page": "union.default",
      "title": "Union of Subsets Calculates the union of subsets of a probability space.",
      "topics": [
        "union.default"
      ]
    },
    {
      "page": "union.ps",
      "title": "Union of Subsets Calculates the union of subsets of a probability space.",
      "topics": [
        "union.ps"
      ]
    },
    {
      "page": "urnsamples",
      "title": "Sampling from Urns This function creates a sample space associated with the experiment of sampling distinguishable objects from an urn.",
      "topics": [
        "urnsamples"
      ]
    },
    {
      "page": "urnsamples.data.frame",
      "title": "Sampling from Urns This function creates a sample space associated with the experiment of sampling distinguishable objects from an urn.",
      "topics": [
        "urnsamples.data.frame"
      ]
    },
    {
      "page": "urnsamples.default",
      "title": "Sampling from Urns This function creates a sample space associated with the experiment of sampling distinguishable objects from an urn.",
      "topics": [
        "urnsamples.default"
      ]
    }
  ],
  "_readme": "https://github.com/cran/probs/raw/HEAD/README.md",
  "_rundeps": [
    "combinat",
    "MASS",
    "plyr",
    "Rcpp",
    "reshape"
  ],
  "_score": 2.246227677767315,
  "_indexed": true,
  "_nocasepkg": "probs",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.9",
      "date": "2026-05-09T09:26:39.000Z",
      "distro": "noble",
      "commit": "56ae58f6743132dc7a0482a57b551d1384f4ae44",
      "fileid": "f5a9f442d66f96357799dc8062d7b690579a5a333c17f05ad72bbdd41120443f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25597567714"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.9",
      "date": "2026-05-09T09:26:25.000Z",
      "distro": "noble",
      "commit": "56ae58f6743132dc7a0482a57b551d1384f4ae44",
      "fileid": "2a1cd2c1cbd975a57f4069fffd0d88ccf75a5aa1d46df29fa41321f45885c12f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25597567714"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.9",
      "date": "2026-05-22T12:55:42.000Z",
      "commit": "56ae58f6743132dc7a0482a57b551d1384f4ae44",
      "fileid": "5e8d7f81089a454d9d88094f53b5579a6864485b3255a647ed56766b282a791a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25597567714"
    }
  ]
}