{"id":475,"date":"2023-07-29T19:13:06","date_gmt":"2023-07-29T19:13:06","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/"},"modified":"2023-07-29T19:13:06","modified_gmt":"2023-07-29T19:13:06","slug":"%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 r \u4e2d\u8f7b\u677e\u521b\u5efa\u6d6e\u96d5\u56fe"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>\u51f9\u51f8\u56fe<\/strong>\u662f\u4e00\u79cd\u56fe\u8868\uff0c\u5b83\u663e\u793a\u4e0d\u540c\u7ec4\u968f\u65f6\u95f4\u7684\u6392\u540d\u800c\u4e0d\u662f\u7edd\u5bf9\u503c\uff0c\u4ee5\u5f3a\u8c03\u7ec4\u7684\u987a\u5e8f\u800c\u4e0d\u662f\u53d8\u5316\u91cf\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002<\/span><\/p>\n<h2><strong><span style=\"color: #000000;\">\u793a\u4f8b\uff1a\u521b\u5efa\u6d6e\u96d5\u56fe\u5f62<\/span><\/strong><\/h2>\n<p><span style=\"color: #000000;\">\u8981\u5728 R \u4e2d\u521b\u5efa\u51f9\u51f8\u56fe\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u52a0\u8f7d\u4e24\u4e2a\u5305\uff1a <strong>dplyr<\/strong>\u548c<strong>ggplot2<\/strong> \uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>library(ggplot2) <span style=\"color: #008080;\">#for creating bump chart<\/span>\nlibrary(dplyr) <span style=\"color: #008080;\">#for manipulating data<\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e9b\u8981\u4f7f\u7528\u7684\u6570\u636e\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#set the seed to make this example reproducible<\/span>\nset.seed(10)\n\ndata &lt;- data.frame(team = rep(LETTERS[1:5], each = 10),\n                   random_num = runif(50),\n                   day = rep(1:10, 5))\n\ndata &lt;- data %&gt;%\n  group_by(day) %&gt;%\n  arrange(day, desc(random_num), team) %&gt;% \n  mutate(rank = row_number()) %&gt;%\n  A group()\n\nhead(data)\n\n# team random_num day rank          \n#1 C 0.865 1 1\n#2 B 0.652 1 2\n#3 D 0.536 1 3\n#4 A 0.507 1 4\n#5 E 0.275 1 5\n#6 C 0.615 2 1<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u8be5\u6570\u636e\u5e93\u4ec5\u663e\u793a\u4e94\u652f\u4e0d\u540c\u7403\u961f\u5728 10 \u5929\u5185\u7684\u201c\u6392\u540d\u201d\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 ggplot2 \u521b\u5efa\u8fdb\u5ea6\u56fe\u6765\u53ef\u89c6\u5316\u6bcf\u4e2a\u56e2\u961f\u5728\u6b64\u671f\u95f4\u6bcf\u5929\u7684\u6392\u540d\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>ggplot(data, aes(x = day, y = rank, group = team)) +\n  geom_line(aes(color = team, alpha = 1), size = 2) +\n  geom_point(aes(color = team, alpha = 1), size = 4) +\n  scale_y_reverse(breaks = 1:nrow(data))<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u8fd9\u4e2a\u51f9\u51f8\u56fe\u4ee5\u60a8\u60f3\u8981\u7684\u683c\u5f0f\u663e\u793a\u6570\u636e\uff0c\u4f46\u5b83\u975e\u5e38\u4e11\u964b\u3002\u901a\u8fc7\u4e00\u4e9b\u7f8e\u5b66\u4e0a\u7684\u6539\u53d8\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u8fd9\u5e45\u753b\u53d8\u5f97\u66f4\u597d\u3002<\/span><\/p>\n<h2><strong><span style=\"color: #000000;\">\u98ce\u683c\u5316\u51f9\u51f8\u56fe\u5f62<\/span><\/strong><\/h2>\n<p><span style=\"color: #000000;\">\u4e3a\u4e86\u6539\u5584\u56fe\u8868\u7684\u5916\u89c2\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<a href=\"https:\/\/dominikkoch.github.io\/Bump-Chart\/\" target=\"_blank\" rel=\"noopener\">Dominik Koch<\/a>\u521b\u5efa\u7684\u4ee5\u4e0b\u4e3b\u9898\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>my_theme &lt;- function() {\n\n  # Colors\n  color.background = \"white\"\n  color.text = \"#22211d\"\n\n  # Begin construction of chart\n  theme_bw(base_size=15) +\n\n    # Format background colors\n    theme(panel.background = element_rect(fill=color.background,\n                                          color=color.background)) +\n    theme(plot.background = element_rect(fill=color.background,\n                                          color=color.background)) +\n    theme(panel.border = element_rect(color=color.background)) +\n    theme(strip.background = element_rect(fill=color.background,\n                                          color=color.background)) +\n\n    # Format the grid\n    theme(panel.grid.major.y = element_blank()) +\n    theme(panel.grid.minor.y = element_blank()) +\n    theme(axis.ticks = element_blank()) +\n\n    # Format the legend\n    theme(legend.position = \"none\") +\n\n    # Format title and axis labels\n    theme(plot.title = element_text(color=color.text, size=20, face = \"bold\")) +\n    theme(axis.title.x = element_text(size=14, color=\"black\", face = \"bold\")) +\n    theme(axis.title.y = element_text(size=14, color=\"black\", face = \"bold\",\n                                          vjust=1.25)) +\n    theme(axis.text.x = element_text(size=10, vjust=0.5, hjust=0.5,\n                                          color = color.text)) +\n    theme(axis.text.y = element_text(size=10, color = color.text)) +\n    theme(strip.text = element_text(face = \"bold\")) +\n\n    # Plot margins\n    theme(plot.margin = unit(c(0.35, 0.2, 0.3, 0.35), \"cm\"))\n}<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u5c06\u518d\u6b21\u521b\u5efa\u51f9\u51f8\u56fe\uff0c\u4f46\u8fd9\u6b21\u6211\u4eec\u5c06\u5220\u9664\u56fe\u4f8b\uff0c\u6dfb\u52a0\u4e00\u4e9b\u56fe\u8868\u6807\u7b7e\uff0c\u5e76\u4f7f\u7528\u4e0a\u9762\u4ee3\u7801\u4e2d\u5b9a\u4e49\u7684\u4e3b\u9898\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>ggplot(data, aes(x = as.factor(day), y = rank, group = team)) +\n  geom_line(aes(color = team, alpha = 1), size = 2) +\n  geom_point(aes(color = team, alpha = 1), size = 4) +\n  geom_point(color = \"#FFFFFF\", size = 1) +\n  scale_y_reverse(breaks = 1:nrow(data)) + \n  scale_x_discrete(breaks = 1:10) +\n  theme(legend.position = 'none') +\n  geom_text(data = data %&gt;% filter(day == \"1\"),\n            aes(label = team, x = 0.5), hjust = .5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  geom_text(data = data %&gt;% filter(day == \"10\"),\n            aes(label = team, x = 10.5), hjust = 0.5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  labs(x = 'Day', y = 'Rank', title = 'Team Ranking by Day') +\n  my_theme()<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0<strong>scale_color_manual()<\/strong>\u53c2\u6570\u8f7b\u677e\u7a81\u51fa\u663e\u793a\u5176\u4e2d\u4e00\u884c\u3002\u4f8b\u5982\uff0c\u5728\u4e0b\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5c06 A \u961f\u7684\u7ebf\u8bbe\u4e3a\u7d2b\u8272\uff0c\u5c06\u6240\u6709\u5176\u4ed6\u7ebf\u8bbe\u4e3a\u7070\u8272\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>ggplot(data, aes(x = as.factor(day), y = rank, group = team)) +\n  geom_line(aes(color = team, alpha = 1), size = 2) +\n  geom_point(aes(color = team, alpha = 1), size = 4) +\n  geom_point(color = \"#FFFFFF\", size = 1) +\n  scale_y_reverse(breaks = 1:nrow(data)) + \n  scale_x_discrete(breaks = 1:10) +\n  theme(legend.position = 'none') +\n  geom_text(data = data %&gt;% filter(day == \"1\"),\n            aes(label = team, x = 0.5), hjust = .5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  geom_text(data = data %&gt;% filter(day == \"10\"),\n            aes(label = team, x = 10.5), hjust = 0.5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  labs(x = 'Day', y = 'Rank', title = 'Team Ranking by Day') +\n  my_theme() <span style=\"color: #800080;\">+\n  scale_color_manual(values = c('purple', 'grey', 'grey', 'grey', 'grey'))<\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5982\u679c\u9700\u8981\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u7a81\u51fa\u663e\u793a\u591a\u884c\uff1a<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>ggplot(data, aes(x = as.factor(day), y = rank, group = team)) +\n  geom_line(aes(color = team, alpha = 1), size = 2) +\n  geom_point(aes(color = team, alpha = 1), size = 4) +\n  geom_point(color = \"#FFFFFF\", size = 1) +\n  scale_y_reverse(breaks = 1:nrow(data)) + \n  scale_x_discrete(breaks = 1:10) +\n  theme(legend.position = 'none') +\n  geom_text(data = data %&gt;% filter(day == \"1\"),\n            aes(label = team, x = 0.5), hjust = .5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  geom_text(data = data %&gt;% filter(day == \"10\"),\n            aes(label = team, x = 10.5), hjust = 0.5,\n            fontface = \"bold\", color = \"#888888\", size = 4) +\n  labs(x = 'Day', y = 'Rank', title = 'Team Ranking by Day') +\n  my_theme() <span style=\"color: #800080;\">+\n  scale_color_manual(values = c('purple', 'steelblue', 'grey', 'grey', 'grey'))<\/span><\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u51f9\u51f8\u56fe\u662f\u4e00\u79cd\u56fe\u8868\uff0c\u5b83\u663e\u793a\u4e0d\u540c\u7ec4\u968f\u65f6\u95f4\u7684\u6392\u540d\u800c\u4e0d\u662f\u7edd\u5bf9\u503c\uff0c\u4ee5\u5f3a\u8c03\u7ec4\u7684\u987a\u5e8f\u800c\u4e0d\u662f\u53d8\u5316\u91cf\u3002 \u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 gg [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-475","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/cn\/\u4f7f\u7528-ggplot2-\u5728-r-\u4e2d\u7ed8\u5236\u51f9\u51f8\u56fe\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u4f7f\u7528-ggplot2-\u5728-r-\u4e2d\u7ed8\u5236\u51f9\u51f8\u56fe\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T19:13:06+00:00\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/\",\"name\":\"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-29T19:13:06+00:00\",\"dateModified\":\"2023-07-29T19:13:06+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 r \u4e2d\u8f7b\u677e\u521b\u5efa\u6d6e\u96d5\u56fe\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials","description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/cn\/\u4f7f\u7528-ggplot2-\u5728-r-\u4e2d\u7ed8\u5236\u51f9\u51f8\u56fe\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials","og_description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002","og_url":"https:\/\/statorials.org\/cn\/\u4f7f\u7528-ggplot2-\u5728-r-\u4e2d\u7ed8\u5236\u51f9\u51f8\u56fe\/","og_site_name":"Statorials","article_published_time":"2023-07-29T19:13:06+00:00","author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/","url":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/","name":"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-29T19:13:06+00:00","dateModified":"2023-07-29T19:13:06+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 R \u4e2d\u8f7b\u677e\u521b\u5efa\u51f9\u51f8\u56fe\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e4%bd%bf%e7%94%a8-ggplot2-%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%87%b9%e5%87%b8%e5%9b%be\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528 ggplot2 \u5728 r \u4e2d\u8f7b\u677e\u521b\u5efa\u6d6e\u96d5\u56fe"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}