{
  "_id": "6a0f69a6acfb0bcc41c5dfa6",
  "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-05-21 08:58:24 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": "b32b193e304ca1312a2c6ee415fb0d8a",
  "_user": "r-causal",
  "_type": "src",
  "_file": "quartets_0.1.3.tar.gz",
  "_fileid": "e2ba9c0a895237d9d6132af7c7353600f17a199ee235e8de3f64ebcc881626db",
  "_filesize": 2518139,
  "_sha256": "e2ba9c0a895237d9d6132af7c7353600f17a199ee235e8de3f64ebcc881626db",
  "_created": "2026-05-21T08:58:24.000Z",
  "_published": "2026-05-21T20:23:02.898Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77261385755,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131535892"
    },
    {
      "job": 77261385853,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131532953"
    },
    {
      "job": 77261386083,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131524215"
    },
    {
      "job": 77261385696,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131525286"
    },
    {
      "job": 77261385486,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131493341"
    },
    {
      "job": 77261385382,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146341071"
    },
    {
      "job": 77261385631,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131529423"
    },
    {
      "job": 77261386228,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131520645"
    },
    {
      "job": 77261386020,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131520029"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246",
  "_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",
    "description": "Tools and educational material for causal inference in R"
  },
  "_downloads": {
    "count": 486,
    "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",
    "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-05-21T09:00:21.000Z",
      "distro": "noble",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "91b40a1ab687de2c050e5aca563c9dcb53bb1a62238a325146f0e040e41d1367",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-21T09:00:18.000Z",
      "distro": "noble",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "d262be26df482c97453c469cd7055288bdae64c925ff9ebf71f23d226c0721f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-21T08:59:51.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "e0e0df5b156154f4cd44828907aa90addd8f60b8d23865c66ffb6455b2f58e76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-21T08:59:57.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "06d39f3d97f6cffee267aaa558b5ec049b63798efa9a4669cfc79b6c3d6c9716",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-21T20:22:47.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "6220944280a8d33fe1b989e0fe510ff3b6432f072d07961d804ffd3c40ab933a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-21T08:59:58.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "b38f54069750cfd0ed69f04ab97da7380f9f527a93fc73c0bad81964a1cded50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-21T08:59:39.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "5d70030743e02ba61e25e0ca3097a470ef405b75ba40aa446a9984a0e16454ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-21T08:59:35.000Z",
      "commit": "a6d67ece2483cd6633ced4b5ece0abd74c46d540",
      "fileid": "140247022cb0478c2baac6078fd66eac25bc3df5e544c439d3e222cf4572916d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-causal/actions/runs/26215995246"
    }
  ]
}