{
  "_id": "6a3643563efcd9bda43fcd98",
  "Package": "quartets",
  "Type": "Package",
  "Title": "Datasets to Help Teach Statistics",
  "Version": "0.1.3",
  "Authors@R": "c(\nperson(\"Lucy\", \"D'Agostino McGowan\", , \"lucydagostino@gmail.com\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-6983-2759\"))\n)",
  "Description": "In the spirit of Anscombe's quartet, this package includes\ndatasets that demonstrate the importance of visualizing your\ndata, the importance of not relying on statistical summary\nmeasures alone, and why additional assumptions about the data\ngenerating mechanism are needed when estimating causal effects.\nThe package includes \"Anscombe's Quartet\" (Anscombe 1973)\n<doi:10.1080/00031305.1973.10478966>, D'Agostino McGowan &\nBarrett (2023) \"Causal Quartet\"\n<doi:10.1080/26939169.2023.2276446>, \"Datasaurus Dozen\"\n(Matejka & Fitzmaurice 2017), \"Interaction Triptych\" (Rohrer &\nArslan 2021) <doi:10.1177/25152459211007368>, \"Rashomon\nQuartet\" (Biecek et al. 2023) <doi:10.48550/arXiv.2302.13356>,\nand Gelman \"Variation and Heterogeneity Causal Quartets\"\n(Gelman et al. 2023) <doi:10.48550/arXiv.2302.12878>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-causal/quartets,\nhttps://r-causal.github.io/quartets/",
  "BugReports": "https://github.com/r-causal/quartets/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Repository": "https://r-causal.r-universe.dev",
  "Date/Publication": "2026-03-22 14:51:00 UTC",
  "RemoteUrl": "https://github.com/r-causal/quartets",
  "RemoteRef": "HEAD",
  "RemoteSha": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-20 07:35:06 UTC",
    "User": "root"
  },
  "Author": "Lucy D'Agostino McGowan [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6983-2759>)",
  "Maintainer": "Lucy D'Agostino McGowan <lucydagostino@gmail.com>",
  "MD5sum": "7413aed14a510bd276910e0fac42c007",
  "_user": "r-causal",
  "_type": "src",
  "_file": "quartets_0.1.3.tar.gz",
  "_fileid": "babb444a15da43f0c195f5a7d723af859bc7302db18bb2fb0868d10379c16dd2",
  "_filesize": 2519252,
  "_sha256": "babb444a15da43f0c195f5a7d723af859bc7302db18bb2fb0868d10379c16dd2",
  "_created": "2026-06-20T07:35:06.000Z",
  "_published": "2026-06-20T07:37:58.050Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82465989982,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7763312560"
    },
    {
      "job": 82465989976,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7763308539"
    },
    {
      "job": 82465989979,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7763303776"
    },
    {
      "job": 82465989978,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7763309741"
    },
    {
      "job": 82465813811,
      "time": 163,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7763293693"
    },
    {
      "job": 82465989973,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7763313423"
    },
    {
      "job": 82465990001,
      "time": 120,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7763310598"
    },
    {
      "job": 82465989999,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7763304655"
    },
    {
      "job": 82465989984,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7763306937"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/r-causal/quartets",
  "_commit": {
    "id": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
    "author": "Lucy D'Agostino McGowan <LucyMcGowan@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #5 from r-causal/fix_ansc\n\nfix anscombe sub-datasets",
    "time": 1774191060
  },
  "_maintainer": {
    "name": "Lucy DAgostino McGowan",
    "email": "lucydagostino@gmail.com",
    "login": "lucymcgowan",
    "description": "Assistant Professor in Statistics • Co-founder @rladies-nashville",
    "uuid": 8431897,
    "orcid": "0000-0002-6983-2759"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "r-causal",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 47,
  "_contributors": [
    {
      "user": "lucymcgowan",
      "count": 43,
      "uuid": 8431897
    },
    {
      "user": "malcolmbarrett",
      "count": 1,
      "uuid": 23123711
    }
  ],
  "_userbio": {
    "uuid": 129535100,
    "type": "organization",
    "name": "Causal Inference in R",
    "followers": 168,
    "description": "Tools and educational material for causal inference in R"
  },
  "_downloads": {
    "count": 301,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/quartets"
  },
  "_devurl": "https://github.com/r-causal/quartets",
  "_pkgdown": "https://r-causal.github.io/quartets/",
  "_searchresults": 47,
  "_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/quartets.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-causal/quartets",
  "_realowner": "r-causal",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-04-12"
    },
    {
      "version": "0.1.1",
      "date": "2023-04-14"
    }
  ],
  "_exports": [],
  "_datasets": [
    {
      "name": "anscombe_leverage",
      "title": "Anscombe's Quartet High Leverage Data",
      "object": "anscombe_leverage",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "anscombe_linear",
      "title": "Anscombe's Quartet Linear Data",
      "object": "anscombe_linear",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "anscombe_nonlinear",
      "title": "Anscombe's Quartet Nonlinear Data",
      "object": "anscombe_nonlinear",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "anscombe_outlier",
      "title": "Anscombe's Quartet Outlier Data",
      "object": "anscombe_outlier",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "anscombe_quartet",
      "title": "Anscombe's Quartet Data",
      "object": "anscombe_quartet",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 44,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_collider",
      "title": "Collider Data",
      "object": "causal_collider",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure",
        "outcome",
        "covariate"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_collider_time",
      "title": "Time-varying Causal Quartet Data",
      "object": "causal_collider_time",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure_baseline",
        "outcome_baseline",
        "covariate_baseline",
        "exposure_followup",
        "outcome_followup",
        "covariate_followup"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_confounding",
      "title": "Confounder Data",
      "object": "causal_confounding",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "covariate",
        "exposure",
        "outcome"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_confounding_time",
      "title": "Time-varying Causal Quartet Data",
      "object": "causal_confounding_time",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "covariate_baseline",
        "exposure_baseline",
        "outcome_baseline",
        "covariate_followup",
        "exposure_followup",
        "outcome_followup"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_m_bias",
      "title": "M-Bias Data",
      "object": "causal_m_bias",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "u1",
        "u2",
        "covariate",
        "exposure",
        "outcome"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_m_bias_time",
      "title": "Time-varying Causal Quartet Data",
      "object": "causal_m_bias_time",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "u1",
        "u2",
        "exposure_baseline",
        "outcome_baseline",
        "covariate_baseline",
        "outcome_followup",
        "exposure_followup",
        "covariate_followup"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_mediator",
      "title": "Mediator Data",
      "object": "causal_mediator",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure",
        "covariate",
        "outcome"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_mediator_time",
      "title": "Time-varying Causal Quartet Data",
      "object": "causal_mediator_time",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "exposure_baseline",
        "covariate_baseline",
        "outcome_baseline",
        "exposure_mid",
        "covariate_mid",
        "outcome_mid",
        "exposure_followup",
        "covariate_followup",
        "outcome_followup"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_quartet",
      "title": "Causal Quartet Data",
      "object": "causal_quartet",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "exposure",
        "outcome",
        "covariate",
        "u1",
        "u2"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "causal_quartet_time",
      "title": "Time-varying Causal Quartet Data",
      "object": "causal_quartet_time",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "covariate_baseline",
        "exposure_baseline",
        "outcome_baseline",
        "covariate_followup",
        "exposure_followup",
        "outcome_followup",
        "exposure_mid",
        "covariate_mid",
        "outcome_mid",
        "u1",
        "u2",
        "dataset"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "datasaurus_dozen",
      "title": "Datasaurus Dozen Data",
      "object": "datasaurus_dozen",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "x",
        "y"
      ],
      "rows": 1846,
      "table": true,
      "tojson": true
    },
    {
      "name": "heterogeneous_causal_quartet",
      "title": "Gelman Heterogeneity Causal Quartet Data",
      "object": "heterogeneous_causal_quartet",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "exposure",
        "covariate",
        "outcome",
        ".causal_effect"
      ],
      "rows": 88,
      "table": true,
      "tojson": true
    },
    {
      "name": "interaction_triptych",
      "title": "Interaction Triptych Data",
      "object": "interaction_triptych",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "moderator",
        "x",
        "y"
      ],
      "rows": 2700,
      "table": true,
      "tojson": true
    },
    {
      "name": "rashomon_quartet",
      "title": "Rashomon Quartet Data",
      "object": "rashomon_quartet",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "split",
        "x1",
        "x2",
        "x3",
        "y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "rashomon_quartet_test",
      "title": "Rashomon Quartet Data",
      "object": "rashomon_quartet_test",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "y",
        "x1",
        "x2",
        "x3"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "rashomon_quartet_train",
      "title": "Rashomon Quartet Data",
      "object": "rashomon_quartet_train",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "y",
        "x1",
        "x2",
        "x3"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "variation_causal_quartet",
      "title": "Gelman Variation Causal Quartet Data",
      "object": "variation_causal_quartet",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "dataset",
        "exposure",
        "covariate",
        "outcome",
        ".causal_effect"
      ],
      "rows": 88,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anscombe_leverage",
      "title": "Anscombe's Quartet High Leverage Data",
      "topics": [
        "anscombe_leverage"
      ]
    },
    {
      "page": "anscombe_linear",
      "title": "Anscombe's Quartet Linear Data",
      "topics": [
        "anscombe_linear"
      ]
    },
    {
      "page": "anscombe_nonlinear",
      "title": "Anscombe's Quartet Nonlinear Data",
      "topics": [
        "anscombe_nonlinear"
      ]
    },
    {
      "page": "anscombe_outlier",
      "title": "Anscombe's Quartet Outlier Data",
      "topics": [
        "anscombe_outlier"
      ]
    },
    {
      "page": "anscombe_quartet",
      "title": "Anscombe's Quartet Data",
      "topics": [
        "anscombe_quartet"
      ]
    },
    {
      "page": "causal_collider",
      "title": "Collider Data",
      "topics": [
        "causal_collider"
      ]
    },
    {
      "page": "causal_collider_time",
      "title": "Time-varying Causal Quartet Data",
      "topics": [
        "causal_collider_time",
        "causal_confounding_time",
        "causal_mediator_time",
        "causal_m_bias_time",
        "causal_quartet_time"
      ]
    },
    {
      "page": "causal_confounding",
      "title": "Confounder Data",
      "topics": [
        "causal_confounding"
      ]
    },
    {
      "page": "causal_m_bias",
      "title": "M-Bias Data",
      "topics": [
        "causal_m_bias"
      ]
    },
    {
      "page": "causal_mediator",
      "title": "Mediator Data",
      "topics": [
        "causal_mediator"
      ]
    },
    {
      "page": "causal_quartet",
      "title": "Causal Quartet Data",
      "topics": [
        "causal_quartet"
      ]
    },
    {
      "page": "datasaurus_dozen",
      "title": "Datasaurus Dozen Data",
      "topics": [
        "datasaurus_dozen"
      ]
    },
    {
      "page": "heterogeneous_causal_quartet",
      "title": "Gelman Heterogeneity Causal Quartet Data",
      "topics": [
        "heterogeneous_causal_quartet"
      ]
    },
    {
      "page": "interaction_triptych",
      "title": "Interaction Triptych Data",
      "topics": [
        "interaction_triptych"
      ]
    },
    {
      "page": "rashomon_quartet",
      "title": "Rashomon Quartet Data",
      "topics": [
        "rashomon_quartet",
        "rashomon_quartet_test",
        "rashomon_quartet_train"
      ]
    },
    {
      "page": "variation_causal_quartet",
      "title": "Gelman Variation Causal Quartet Data",
      "topics": [
        "variation_causal_quartet"
      ]
    }
  ],
  "_pkglogo": "https://github.com/r-causal/quartets/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/r-causal/quartets/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "a-collider-example-in-a-medical-context.Rmd",
      "filename": "a-collider-example-in-a-medical-context.html",
      "title": "A collider example in a medical context",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Analysis",
        "Analysis incorporating time varying data"
      ],
      "created": "2023-07-14 16:54:26",
      "modified": "2023-07-15 18:41:21",
      "commits": 2
    }
  ],
  "_score": 6.043165720207454,
  "_indexed": true,
  "_nocasepkg": "quartets",
  "_universes": [
    "r-causal",
    "lucymcgowan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-20T07:37:20.000Z",
      "distro": "noble",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "52ce1df9464a311d3f73b9f5070555392695a5e9b23d9b50012f4338a27cc45b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-20T07:36:59.000Z",
      "distro": "noble",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "efa8a224644892c73a675a93c19540834dcef4d8b2f0e596fa8f192464337e32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-20T07:36:27.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "5c7feae161d586f630e92d450998944fdb2f750a21ec9a616ab0a772c06f41a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-20T07:37:04.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "37bbc718ef18e1012334cdb082fc5676ccc5ae41f84dbcf159dfc4398030f885",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-20T07:37:41.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "2a4016050ab1abe0f6876b8df26748e4d8b58946a4b3fc35ed1c4c3373ed318e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-20T07:37:01.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "4e5bf8e6c55d14961bbc16b25dc29c5128b1a29cbdd3916f81cff063a90e0e68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-20T07:36:26.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "b12144a007e7a0a0abed2705ab7986d3da6c83f2516593dfbfa1aeb50021dda6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-20T07:36:39.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "95fb905974b6646709e876ef122bc067c80fe09b4935c4051c486c4a0e62ce97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/27864361406"
    }
  ]
}