{
  "_id": "6af84fa9be2268deb4a40fc9",
  "Package": "mediaPlanR",
  "Type": "Package",
  "Title": "Reach and Exposure-Distribution Models for Media Planning",
  "Version": "2.0.0",
  "Date": "2026-10-29",
  "Authors@R": "person(given = \"Manuel J.\", family = \"Sánchez-Franco\",\nemail = \"majesus@us.es\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8042-3550\"))",
  "Author": "Manuel J. Sánchez-Franco [aut, cre]\n(<https://orcid.org/0000-0002-8042-3550>)",
  "Maintainer": "Manuel J. Sánchez-Franco <majesus@us.es>",
  "Description": "Reproducible implementations of reach and\nexposure-frequency models for media planning. Provides exact\nreach and exposure distributions under random duplication\n(Sainsbury and Binomial models); the Beta-Binomial accumulation\nmodel and its multi-vehicle version of Metheringham (1964)\n<doi:10.1080/00218499.1964.12519751>; the ad hoc duplication\nand accumulation formulas of Agostini (1961)\n<doi:10.1080/00218499.1961.12519620> and Hofmans (1966)\n<doi:10.1177/002224376600300307>; and the multivariate exposure\ndistribution models of Danaher (1991)\n<doi:10.1177/002224379102800311> (canonical expansion),\nLeckenby and Rice (1986) <doi:10.1080/00913367.1986.10673014>\n(Morgensztern sequential aggregation), Hyo Gyoo Kim (2005,\ndoctoral dissertation, University of Texas at Austin)\n(canonical sequential aggregation), Heejin Kim (1994, doctoral\ndissertation, University of Texas at Austin) (conditional Beta\ndistribution), and Cheong (2007, doctoral dissertation,\nUniversity of Texas at Austin) and Cheong, Leckenby and Eakin\n(2011) <doi:10.2753/JOA0091-3367400101> (multivariate\nBeta-Binomial). The three dissertations have no DOI; their\ncomplete references are in the help pages. Also includes an\nexplicitly scoped Negative-Binomial count approximation, the\nfitting of the Beta-Binomial model to an observed reach, and\nthe evaluation of predicted exposure distributions against\nobserved ones.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/majesus/mediaPlanR",
  "BugReports": "https://github.com/majesus/mediaPlanR/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://majesus.r-universe.dev",
  "Date/Publication": "2026-10-29 05:59:52 UTC",
  "RemoteUrl": "https://github.com/majesus/mediaplanr",
  "RemoteRef": "HEAD",
  "RemoteSha": "87e07d2d07c948ac63f59732f246049b136f0491",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 12:05:10 UTC",
    "User": "root"
  },
  "_user": "majesus",
  "_type": "src",
  "_file": "mediaPlanR_2.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f2ccebfcc2a8d6a2881dfd8d697732f5d4668c7ce8e6bcc80fe591d980330c78",
  "_filesize": 744448,
  "_sha256": "f2ccebfcc2a8d6a2881dfd8d697732f5d4668c7ce8e6bcc80fe591d980330c78",
  "_expires": "2027-02-22T12:10:16.000Z",
  "_created": "2026-11-14T12:05:10.000Z",
  "_published": "2026-11-14T12:10:17.757Z",
  "_upstream": "https://github.com/majesus/mediaplanr",
  "_status": "success",
  "_maintainer": {
    "name": "Manuel J. Sánchez-Franco",
    "email": "majesus@us.es",
    "login": "majesus",
    "description": "Full Professor\n/\nBusiness Administration and Marketing",
    "uuid": 25938947,
    "orcid": "0000-0002-8042-3550"
  },
  "_jobs": [
    {
      "job": 132441794452,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14113620480"
    },
    {
      "job": 132441794513,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14113800309"
    },
    {
      "job": 132441794390,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14113855122"
    },
    {
      "job": 132441794527,
      "time": 264,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14113127430"
    },
    {
      "job": 132441052317,
      "time": 180,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14112624748"
    },
    {
      "job": 132441794449,
      "time": 83,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14113097230"
    },
    {
      "job": 132441794430,
      "time": 235,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14113341409"
    },
    {
      "job": 132441794494,
      "time": 198,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14113117393"
    },
    {
      "job": 132441794476,
      "time": 233,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14113605885"
    }
  ],
  "_buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400",
  "_commit": {
    "id": "87e07d2d07c948ac63f59732f246049b136f0491",
    "author": "Claude <noreply@anthropic.com>",
    "committer": "Claude <noreply@anthropic.com>",
    "message": "Update preparation date line in cran-comments [skip ci]\n\nCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01SQ1tqRsvXW7fNMUcjSvWf3\n",
    "time": 1793253592
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "majesus",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-34",
      "n": 4
    },
    {
      "week": "2026-35",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 6
    },
    {
      "week": "2026-40",
      "n": 6
    },
    {
      "week": "2026-41",
      "n": 22
    },
    {
      "week": "2026-44",
      "n": 14
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-09-23"
    }
  ],
  "_topics": [
    "marketing",
    "media",
    "planning"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "majesus",
      "count": 662,
      "uuid": 25938947
    },
    {
      "user": "claude",
      "count": 4,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 25938947,
    "type": "user",
    "name": "Manuel J. Sánchez-Franco",
    "followers": 4,
    "description": "Full Professor\r\n/\r\nBusiness Administration and Marketing"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mediaPlanR"
  },
  "_devurl": "https://github.com/majesus/mediaplanr",
  "_searchresults": 7,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mediaPlanR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/majesus/mediaplanr",
  "_realowner": "majesus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0.0",
      "date": "2026-11-13"
    }
  ],
  "_exports": [
    "calc_agostini_duplication",
    "calc_beta_binomial",
    "calc_binomial",
    "calc_canex",
    "calc_cbd",
    "calc_csd",
    "calc_hofmans_accumulation",
    "calc_hofmans_duplication",
    "calc_mbd",
    "calc_metheringham",
    "calc_msad",
    "calc_sainsbury",
    "calibrate_bbd",
    "evaluate_exposure_model",
    "fit_bbd_to_reach",
    "fit_nbd_exposure",
    "nbd_exposure_distribution"
  ],
  "_datasets": [
    {
      "name": "bbd_reach_example",
      "title": "Illustrative inputs for fitting a Beta-Binomial to an external reach",
      "object": "bbd_reach_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "beta_binomial_example",
      "title": "Illustrative inputs for the Beta-Binomial model",
      "object": "beta_binomial_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "canex_example",
      "title": "Illustrative inputs for the CANEX model",
      "object": "canex_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "csd_example",
      "title": "Illustrative inputs for the CSD model",
      "object": "csd_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "duplication_example",
      "title": "Illustrative inputs for the Agostini and Hofmans duplication models",
      "object": "duplication_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "hofmans_accumulation_example",
      "title": "Illustrative inputs for the Hofmans accumulation model",
      "object": "hofmans_accumulation_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "mbd_example",
      "title": "Illustrative inputs for the MBD model",
      "object": "mbd_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "metheringham_example",
      "title": "Illustrative inputs for the Metheringham model",
      "object": "metheringham_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "msad_example",
      "title": "Illustrative inputs for the MSAD model",
      "object": "msad_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ratings_example",
      "title": "Illustrative inputs for the Sainsbury and Binomial models",
      "object": "ratings_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bbd_reach_example",
      "title": "Illustrative inputs for fitting a Beta-Binomial to an external reach",
      "topics": [
        "bbd_reach_example"
      ]
    },
    {
      "page": "beta_binomial_example",
      "title": "Illustrative inputs for the Beta-Binomial model",
      "topics": [
        "beta_binomial_example"
      ]
    },
    {
      "page": "calc_agostini_duplication",
      "title": "Reach under Agostini's duplication model",
      "topics": [
        "calc_agostini_duplication"
      ]
    },
    {
      "page": "calc_beta_binomial",
      "title": "Reach and exposure distribution under the Beta-Binomial model",
      "topics": [
        "calc_beta_binomial"
      ]
    },
    {
      "page": "calc_binomial",
      "title": "Reach and exposure distribution under the Binomial model",
      "topics": [
        "calc_binomial"
      ]
    },
    {
      "page": "calc_canex",
      "title": "Canonical Expansion model (CANEX)",
      "topics": [
        "calc_canex"
      ]
    },
    {
      "page": "calc_cbd",
      "title": "Conditional Beta Distribution model",
      "topics": [
        "calc_cbd"
      ]
    },
    {
      "page": "calc_csd",
      "title": "Canonical Sequential Aggregation Distribution model",
      "topics": [
        "calc_csd"
      ]
    },
    {
      "page": "calc_hofmans_accumulation",
      "title": "Cumulative reach under Hofmans' accumulation model",
      "topics": [
        "calc_hofmans_accumulation"
      ]
    },
    {
      "page": "calc_hofmans_duplication",
      "title": "Reach under Hofmans' duplication model",
      "topics": [
        "calc_hofmans_duplication"
      ]
    },
    {
      "page": "calc_mbd",
      "title": "Multivariate Beta Binomial Distribution model",
      "topics": [
        "calc_mbd"
      ]
    },
    {
      "page": "calc_metheringham",
      "title": "Reach and exposure distribution under the Metheringham model",
      "topics": [
        "calc_metheringham"
      ]
    },
    {
      "page": "calc_msad",
      "title": "Morgensztern Sequential Aggregation Distribution model",
      "topics": [
        "calc_msad"
      ]
    },
    {
      "page": "calc_sainsbury",
      "title": "Reach and exposure distribution under the Sainsbury model",
      "topics": [
        "calc_sainsbury"
      ]
    },
    {
      "page": "calibrate_bbd",
      "title": "Calibrate a Beta-Binomial effective-reach model",
      "topics": [
        "calibrate_bbd"
      ]
    },
    {
      "page": "canex_example",
      "title": "Illustrative inputs for the CANEX model",
      "topics": [
        "canex_example"
      ]
    },
    {
      "page": "csd_example",
      "title": "Illustrative inputs for the CSD model",
      "topics": [
        "csd_example"
      ]
    },
    {
      "page": "duplication_example",
      "title": "Illustrative inputs for the Agostini and Hofmans duplication models",
      "topics": [
        "duplication_example"
      ]
    },
    {
      "page": "evaluate_exposure_model",
      "title": "Evaluate an observed exposure distribution against a model prediction",
      "topics": [
        "evaluate_exposure_model"
      ]
    },
    {
      "page": "fit_bbd_to_reach",
      "title": "Fit a Beta-Binomial distribution to an external reach estimate",
      "topics": [
        "fit_bbd_to_reach"
      ]
    },
    {
      "page": "fit_nbd_exposure",
      "title": "Fit a Negative-Binomial exposure-count model",
      "topics": [
        "fit_nbd_exposure"
      ]
    },
    {
      "page": "hofmans_accumulation_example",
      "title": "Illustrative inputs for the Hofmans accumulation model",
      "topics": [
        "hofmans_accumulation_example"
      ]
    },
    {
      "page": "mbd_example",
      "title": "Illustrative inputs for the MBD model",
      "topics": [
        "mbd_example"
      ]
    },
    {
      "page": "mediaPlanR",
      "title": "mediaPlanR: Reach and Exposure-Distribution Models for Media Planning",
      "topics": [
        "mediaPlanR-package",
        "mediaPlanR"
      ]
    },
    {
      "page": "metheringham_example",
      "title": "Illustrative inputs for the Metheringham model",
      "topics": [
        "metheringham_example"
      ]
    },
    {
      "page": "msad_example",
      "title": "Illustrative inputs for the MSAD model",
      "topics": [
        "msad_example"
      ]
    },
    {
      "page": "nbd_exposure_distribution",
      "title": "Negative-Binomial exposure-count approximation",
      "topics": [
        "nbd_exposure_distribution"
      ]
    },
    {
      "page": "print_sequential",
      "title": "Print the result of CSD, MSAD, CBD or MBD",
      "topics": [
        "print.reach_cbd",
        "print.reach_csd",
        "print.reach_mbd",
        "print.reach_msad",
        "print_sequential"
      ]
    },
    {
      "page": "ratings_example",
      "title": "Illustrative inputs for the Sainsbury and Binomial models",
      "topics": [
        "ratings_example"
      ]
    }
  ],
  "_readme": "https://github.com/majesus/mediaplanr/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "mediaPlanR-intro.Rmd",
      "filename": "mediaPlanR-intro.html",
      "title": "Introduction to mediaPlanR",
      "author": "Manuel J. Sánchez-Franco",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What mediaPlanR provides",
        "Units and the models of random duplication",
        "The family of reach and exposure-distribution models",
        "What the models assume",
        "Example: three vehicles, one insertion each, different assumptions",
        "From a reach to a distribution: Hofmans Beta-Binomial (HBBD)",
        "Several insertions per vehicle: Metheringham",
        "One vehicle, several insertions: Beta-Binomial and Hofmans",
        "Beta-Binomial versus Negative-Binomial: finite opportunities and count processes",
        "CANEX: heterogeneity and jointly observed duplication",
        "CSD and MSAD: two reach estimators, one sequential architecture",
        "MSAD: Morgensztern's sequential aggregation",
        "Validation against observed data",
        "MBD: the multivariate Beta-Binomial model",
        "CBD: the conditional Beta distribution",
        "Example datasets",
        "Domain of validity of the multivariate models",
        "Scope",
        "References"
      ],
      "created": "2026-08-15 16:37:37",
      "modified": "2026-10-27 20:29:00",
      "commits": 17
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "mediaplanr",
  "_universes": [
    "majesus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:05.000Z",
      "distro": "resolute",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/b367d875d8b955fde204841fc79ac5c2b9cc58ab7f834ef3a4dd238842d424ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:46.000Z",
      "distro": "resolute",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/c59669183cd1c15d8177a95621cdae39dc496e8c8186cf30a270f1e867900282",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:49.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/231ae877119d439cee34778a97fb4c3ae3640c87daffc2b92078cefc1c1b4df3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-11-14T12:08:03.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/181a738cde71d85a49b6444afbd4495d377efd608be473e902e1bd806a1000d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-11-14T12:06:52.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/431ebb3a33668cad5d5a2a3ff7d7cf65dde366d31b710d122ac72dd2e129d3ab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:40.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/53b9c3e70e8b6f53ff2f5f3b74e002361f6fa6d75ac11a00d473becc33ffb5c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:18.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/29098a0ba32d53ac443f4e004ae5945393b8ab03a54981c0f483c4e990142148",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-11-14T12:07:52.000Z",
      "commit": "87e07d2d07c948ac63f59732f246049b136f0491",
      "fileid": "https://r2.ropensci.org/2693071c8e045a58becd51c9233892ed5a0cfb51c9b55b32821b339682f22fc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/majesus/actions/runs/43592825400"
    }
  ]
}