{
  "_id": "6a17e343acfb0bcc41da0064",
  "Package": "MSG",
  "Type": "Package",
  "Title": "Data and Functions for the Book Modern Statistical Graphics",
  "Version": "0.9.1",
  "Authors@R": "c(\nperson(\"Yihui\", \"Xie\", role = c(\"aut\", \"cre\"), email = \"xie@yihui.name\", comment = c(ORCID = \"0000-0003-0645-5666\")),\nperson(\"Peng\", \"Zhao\", role = \"aut\"),\nperson(\"Lijia\", \"Yu\", role = \"ctb\"),\nperson(\"Xiangyun\", \"Huang\", role = \"ctb\"),\nperson()\n)",
  "Description": "A companion to the Chinese book ``Modern Statistical\nGraphics''.",
  "License": "GPL",
  "URL": "https://github.com/yihui/MSG",
  "BugReports": "https://github.com/yihui/MSG/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Repository": "https://yihui.r-universe.dev",
  "Date/Publication": "2026-02-26 14:34:32 UTC",
  "RemoteUrl": "https://github.com/yihui/MSG",
  "RemoteRef": "HEAD",
  "RemoteSha": "443f5388b4cc1590816f78d4735215828144521a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 06:36:58 UTC",
    "User": "root"
  },
  "Author": "Yihui Xie [aut, cre] (ORCID: <https://orcid.org/0000-0003-0645-5666>),\nPeng Zhao [aut],\nLijia Yu [ctb],\nXiangyun Huang [ctb]",
  "Maintainer": "Yihui Xie <xie@yihui.name>",
  "MD5sum": "3694453df1140f1208d75dd7da327173",
  "_user": "yihui",
  "_type": "src",
  "_file": "MSG_0.9.1.tar.gz",
  "_fileid": "00c06d37e3a6f2ee9108ed2abe27d7839ce47c103d2c717b06c69ea3643d0192",
  "_filesize": 1271933,
  "_sha256": "00c06d37e3a6f2ee9108ed2abe27d7839ce47c103d2c717b06c69ea3643d0192",
  "_created": "2026-05-28T06:36:58.000Z",
  "_published": "2026-05-28T06:40:03.252Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78237164917,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259295523"
    },
    {
      "job": 78237164898,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259295113"
    },
    {
      "job": 78237164920,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259288535"
    },
    {
      "job": 78237164874,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259287520"
    },
    {
      "job": 78236781548,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259262495"
    },
    {
      "job": 78237164904,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259289451"
    },
    {
      "job": 78237164923,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7259300632"
    },
    {
      "job": 78237164901,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7259284193"
    },
    {
      "job": 78237164892,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259281685"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yihui/MSG",
  "_commit": {
    "id": "443f5388b4cc1590816f78d4735215828144521a",
    "author": "Yihui Xie <xie@yihui.name>",
    "committer": "Yihui Xie <xie@yihui.name>",
    "message": "tweak readme\n",
    "time": 1772116472
  },
  "_maintainer": {
    "name": "Yihui Xie",
    "email": "xie@yihui.name",
    "login": "yihui",
    "mastodon": "@yihui@mastodon.social",
    "bluesky": "@yihui.org",
    "linkedin": "in/yihuixie",
    "description": "Freelancer (open source programmer, contractor, blogger, and writer)",
    "uuid": 163582,
    "orcid": "0000-0003-0645-5666"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "RColorBrewer",
      "version": ">= 1.1.2",
      "role": "Imports"
    },
    {
      "package": "animation",
      "version": ">= 2.6",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "version": ">= 1.2.4.1",
      "role": "Suggests"
    },
    {
      "package": "KernSmooth",
      "version": ">= 2.23.15",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "version": ">= 3.3.0",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.0.11",
      "role": "Suggests"
    },
    {
      "package": "rgl",
      "version": ">= 0.100.30",
      "role": "Suggests"
    },
    {
      "package": "RgoogleMaps",
      "version": ">= 1.4.4",
      "role": "Suggests"
    },
    {
      "package": "plotrix",
      "version": ">= 3.7.6",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.1",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "version": ">= 3.6.0",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "sna",
      "version": ">= 2.4",
      "role": "Suggests"
    }
  ],
  "_owner": "yihui",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.9",
      "date": "2026-02-26"
    }
  ],
  "_topics": [
    "chinese-book",
    "statistical-graphics"
  ],
  "_stars": 38,
  "_contributors": [
    {
      "user": "yihui",
      "count": 116,
      "uuid": 163582
    },
    {
      "user": "yulijia",
      "count": 10,
      "uuid": 895125
    },
    {
      "user": "pzhaonet",
      "count": 6,
      "uuid": 4011804
    },
    {
      "user": "xiangyunhuang",
      "count": 2,
      "uuid": 12031874
    },
    {
      "user": "chuxinyuan",
      "count": 1,
      "uuid": 26940042
    }
  ],
  "_userbio": {
    "uuid": 163582,
    "type": "user",
    "name": "Yihui Xie",
    "description": "Freelancer (open source programmer, contractor, blogger, and writer)"
  },
  "_downloads": {
    "count": 416,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MSG"
  },
  "_mentions": 14,
  "_devurl": "https://github.com/yihui/msg",
  "_searchresults": 205,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MSG.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yihui/msg",
  "_realowner": "yihui",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2011-03-30"
    },
    {
      "version": "0.2",
      "date": "2012-03-01"
    },
    {
      "version": "0.2.2",
      "date": "2012-08-19"
    },
    {
      "version": "0.3",
      "date": "2016-02-12"
    },
    {
      "version": "0.4",
      "date": "2019-09-03"
    },
    {
      "version": "0.5",
      "date": "2020-09-09"
    },
    {
      "version": "0.6",
      "date": "2020-11-30"
    },
    {
      "version": "0.7",
      "date": "2021-06-23"
    },
    {
      "version": "0.8",
      "date": "2021-07-21"
    },
    {
      "version": "0.9",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "andrews_curve",
    "char_gen",
    "cut_plot",
    "heart_curve",
    "msg",
    "vec2col"
  ],
  "_datasets": [
    {
      "name": "assists",
      "title": "Assists between players in CLE and LAL",
      "object": "assists",
      "file": "assists.rda",
      "class": [
        "table"
      ],
      "fields": [
        "Anthony Parker",
        "Anderson Varejao",
        "Delonte West",
        "J.J. Hickson",
        "LeBron James",
        "Daniel Gibson",
        "Jamario Moon",
        "Darnell Jackson",
        "Mo Williams",
        "Jawad Williams",
        "Shaquille O'Neal",
        "Zydrunas Ilgauskas",
        "Andrew Bynum",
        "Derek Fisher",
        "Jordan Farmar",
        "Kobe Bryant",
        "Josh Powell",
        "Lamar Odom",
        "Pau Gasol",
        "Ron Artest",
        "Sasha Vujacic",
        "Shannon Brown"
      ],
      "rows": 22,
      "table": true,
      "tojson": false
    },
    {
      "name": "BinormCircle",
      "title": "Random numbers containing a \"circle\"",
      "object": "BinormCircle",
      "file": "BinormCircle.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2"
      ],
      "rows": 20000,
      "table": true,
      "tojson": true
    },
    {
      "name": "canabalt",
      "title": "The scores of the game Canabalt from Twitter",
      "object": "canabalt",
      "file": "canabalt.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "score",
        "death",
        "device"
      ],
      "rows": 1208,
      "table": true,
      "tojson": true
    },
    {
      "name": "ChinaLifeEdu",
      "title": "Life Expectancy and the Number of People with Higher Education in China (2005)",
      "object": "ChinaLifeEdu",
      "file": "ChinaLifeEdu.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Life.Expectancy",
        "High.Edu.NO"
      ],
      "rows": 31,
      "table": true,
      "tojson": true
    },
    {
      "name": "Export.USCN",
      "title": "Export of US and China from 1999 to 2004 in US dollars",
      "object": "Export.USCN",
      "file": "Export.USCN.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Export",
        "Year",
        "Country"
      ],
      "rows": 13,
      "table": true,
      "tojson": true
    },
    {
      "name": "gov.cn.pct",
      "title": "Percentage data in some government websites",
      "object": "gov.cn.pct",
      "file": "gov.cn.pct.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "percentage",
        "count",
        "round0",
        "round1"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "murcia",
      "title": "Composition of Soil from Murcia Province, Spain",
      "object": "murcia",
      "file": "murcia.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site",
        "sand",
        "silt",
        "clay"
      ],
      "rows": 88,
      "table": true,
      "tojson": true
    },
    {
      "name": "music",
      "title": "Attributes of some music clips",
      "object": "music",
      "file": "music.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "artist",
        "type",
        "lvar",
        "lave",
        "lmax",
        "lfvar",
        "lfener",
        "rvar",
        "rave",
        "rmax",
        "rfvar",
        "rfener"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "PlantCounts",
      "title": "Number of plants corresponding to altitude",
      "object": "PlantCounts",
      "file": "PlantCounts.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "altitude",
        "counts"
      ],
      "rows": 600,
      "table": true,
      "tojson": true
    },
    {
      "name": "quake6",
      "title": "Earth quakes from 1973 to 2010",
      "object": "quake6",
      "file": "quake6.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cat",
        "year",
        "month",
        "day",
        "time",
        "lat",
        "long",
        "dep",
        "magnitude"
      ],
      "rows": 4999,
      "table": true,
      "tojson": true
    },
    {
      "name": "t.diff",
      "title": "The differences of P-values in t test assuming equal or unequal variances",
      "object": "t.diff",
      "file": "t.diff.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "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": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "tukeyCount",
      "title": "Results of a Simulation to Tukey's Fast Test",
      "object": "tukeyCount",
      "file": "tukeyCount.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pvalue.t",
        "pvalue.w",
        "count"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "tvearn",
      "title": "Top TV earners",
      "object": "tvearn",
      "file": "tvearn.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "actor",
        "show",
        "pay",
        "type",
        "network",
        "season",
        "gender",
        "viewers",
        "rating",
        "networktop5"
      ],
      "rows": 72,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MSG-package",
      "title": "Modern Statistical Graphics",
      "topics": [
        "MSG-package",
        "MSG"
      ]
    },
    {
      "page": "andrews_curve",
      "title": "Draw Andrew's Curve",
      "topics": [
        "andrews_curve"
      ]
    },
    {
      "page": "assists",
      "title": "Assists between players in CLE and LAL",
      "topics": [
        "assists"
      ]
    },
    {
      "page": "BinormCircle",
      "title": "Random numbers containing a ``circle''",
      "topics": [
        "BinormCircle"
      ]
    },
    {
      "page": "canabalt",
      "title": "The scores of the game Canabalt from Twitter",
      "topics": [
        "canabalt"
      ]
    },
    {
      "page": "char_gen",
      "title": "Generate a matrix of similar characters",
      "topics": [
        "char_gen"
      ]
    },
    {
      "page": "ChinaLifeEdu",
      "title": "Life Expectancy and the Number of People with Higher Education in China (2005)",
      "topics": [
        "ChinaLifeEdu"
      ]
    },
    {
      "page": "cut_plot",
      "title": "Cut the points in a scatter plot into groups according to x-axis",
      "topics": [
        "cut_plot"
      ]
    },
    {
      "page": "Export.USCN",
      "title": "Export of US and China from 1999 to 2004 in US dollars",
      "topics": [
        "Export.USCN"
      ]
    },
    {
      "page": "gov.cn.pct",
      "title": "Percentage data in some government websites",
      "topics": [
        "gov.cn.pct"
      ]
    },
    {
      "page": "heart_curve",
      "title": "Draw a heart curve",
      "topics": [
        "heart_curve"
      ]
    },
    {
      "page": "msg",
      "title": "Plot a graph with a pre-installed R script",
      "topics": [
        "msg"
      ]
    },
    {
      "page": "murcia",
      "title": "Composition of Soil from Murcia Province, Spain",
      "topics": [
        "murcia"
      ]
    },
    {
      "page": "music",
      "title": "Attributes of some music clips",
      "topics": [
        "music"
      ]
    },
    {
      "page": "PlantCounts",
      "title": "Number of plants corresponding to altitude",
      "topics": [
        "PlantCounts"
      ]
    },
    {
      "page": "quake6",
      "title": "Earth quakes from 1973 to 2010",
      "topics": [
        "quake6"
      ]
    },
    {
      "page": "t.diff",
      "title": "The differences of P-values in t test assuming equal or unequal variances",
      "topics": [
        "t.diff"
      ]
    },
    {
      "page": "tukeyCount",
      "title": "Results of a Simulation to Tukey's Fast Test",
      "topics": [
        "tukeyCount"
      ]
    },
    {
      "page": "tvearn",
      "title": "Top TV earners",
      "topics": [
        "tvearn"
      ]
    },
    {
      "page": "vec2col",
      "title": "Generate colors from a vector",
      "topics": [
        "vec2col",
        "vec2col.default",
        "vec2col.factor"
      ]
    }
  ],
  "_readme": "https://github.com/yihui/MSG/raw/HEAD/README.md",
  "_rundeps": [
    "RColorBrewer"
  ],
  "_score": 7.192567453336546,
  "_indexed": true,
  "_nocasepkg": "msg",
  "_universes": [
    "yihui"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.1",
      "date": "2026-05-28T06:39:05.000Z",
      "distro": "noble",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "ac84b7c970868fa5657946d337a49a164f8852676c4d5aec93ec8b06431ffd2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.1",
      "date": "2026-05-28T06:39:08.000Z",
      "distro": "noble",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "a438bb86c54eee2f56d315d3702bf8aa1d6228d5e8167c5c7b36355b3f23698f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.1",
      "date": "2026-05-28T06:38:44.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "d643dd3ae9a89a6c46ceb5d229fa1e8ee6d558401f7acee169c150d4fea39bd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.1",
      "date": "2026-05-28T06:38:40.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "9be7cb6f6b56fc3a3f6f41f8374694778a1e86a739c1830ebc8789b382935759",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.1",
      "date": "2026-05-28T06:39:02.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "a6d0cebc14838fad00320e0ff0ad0695ff1f0ca96fc1d2e19aa95963e0d382ce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.1",
      "date": "2026-05-28T06:39:22.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "9e117207b68c3a4a001f503d63504f6179de89c87929eea4de39bdd5557af8af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.1",
      "date": "2026-05-28T06:38:17.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "93f5cca57e54c23dc92d2c0b72cfd67cb0687fde35ef0cddcc55ea1eb743fba0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.1",
      "date": "2026-05-28T06:38:08.000Z",
      "commit": "443f5388b4cc1590816f78d4735215828144521a",
      "fileid": "c19607b0fb7da2a52c063d4550fda7ad90bcdb5de2a6e5892d0ee7cecad63b76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yihui/actions/runs/26558852134"
    }
  ]
}