You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 5 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <title>Chapitre 4 Abstraction de tâche | Visualisation de données : éléments théoriques et applications avec R</title>
  7. <meta name="description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
  8. <meta name="generator" content="bookdown 0.12 and GitBook 2.6.7" />
  9. <meta property="og:title" content="Chapitre 4 Abstraction de tâche | Visualisation de données : éléments théoriques et applications avec R" />
  10. <meta property="og:type" content="book" />
  11. <meta property="og:description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
  12. <meta name="twitter:card" content="summary" />
  13. <meta name="twitter:title" content="Chapitre 4 Abstraction de tâche | Visualisation de données : éléments théoriques et applications avec R" />
  14. <meta name="twitter:description" content="Cours introductif à la visualisation de données avec R. Ce cours a pour but d introduire les concepts théoriques de base en visualisation ainsi que des exemples concrets." />
  15. <meta name="author" content="Antoine Neuraz" />
  16. <meta name="date" content="2019-10-30" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1" />
  18. <meta name="apple-mobile-web-app-capable" content="yes" />
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  20. <link rel="prev" href="perception-systeme-visuel-marques-et-canaux-couleurs.html">
  21. <link rel="next" href="principes-de-design.html">
  22. <script src="libs/jquery-2.2.3/jquery.min.js"></script>
  23. <link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
  24. <link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
  25. <link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
  26. <link href="libs/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" />
  27. <link href="libs/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" />
  28. <link href="libs/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" />
  29. <style type="text/css">
  30. a.sourceLine { display: inline-block; line-height: 1.25; }
  31. a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
  32. a.sourceLine:empty { height: 1.2em; }
  33. .sourceCode { overflow: visible; }
  34. code.sourceCode { white-space: pre; position: relative; }
  35. pre.sourceCode { margin: 0; }
  36. @media screen {
  37. div.sourceCode { overflow: auto; }
  38. }
  39. @media print {
  40. code.sourceCode { white-space: pre-wrap; }
  41. a.sourceLine { text-indent: -1em; padding-left: 1em; }
  42. }
  43. pre.numberSource a.sourceLine
  44. { position: relative; left: -4em; }
  45. pre.numberSource a.sourceLine::before
  46. { content: attr(data-line-number);
  47. position: relative; left: -1em; text-align: right; vertical-align: baseline;
  48. border: none; pointer-events: all; display: inline-block;
  49. -webkit-touch-callout: none; -webkit-user-select: none;
  50. -khtml-user-select: none; -moz-user-select: none;
  51. -ms-user-select: none; user-select: none;
  52. padding: 0 4px; width: 4em;
  53. color: #aaaaaa;
  54. }
  55. pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
  56. div.sourceCode
  57. { }
  58. @media screen {
  59. a.sourceLine::before { text-decoration: underline; }
  60. }
  61. code span.al { color: #ff0000; font-weight: bold; } /* Alert */
  62. code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
  63. code span.at { color: #7d9029; } /* Attribute */
  64. code span.bn { color: #40a070; } /* BaseN */
  65. code span.bu { } /* BuiltIn */
  66. code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
  67. code span.ch { color: #4070a0; } /* Char */
  68. code span.cn { color: #880000; } /* Constant */
  69. code span.co { color: #60a0b0; font-style: italic; } /* Comment */
  70. code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
  71. code span.do { color: #ba2121; font-style: italic; } /* Documentation */
  72. code span.dt { color: #902000; } /* DataType */
  73. code span.dv { color: #40a070; } /* DecVal */
  74. code span.er { color: #ff0000; font-weight: bold; } /* Error */
  75. code span.ex { } /* Extension */
  76. code span.fl { color: #40a070; } /* Float */
  77. code span.fu { color: #06287e; } /* Function */
  78. code span.im { } /* Import */
  79. code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
  80. code span.kw { color: #007020; font-weight: bold; } /* Keyword */
  81. code span.op { color: #666666; } /* Operator */
  82. code span.ot { color: #007020; } /* Other */
  83. code span.pp { color: #bc7a00; } /* Preprocessor */
  84. code span.sc { color: #4070a0; } /* SpecialChar */
  85. code span.ss { color: #bb6688; } /* SpecialString */
  86. code span.st { color: #4070a0; } /* String */
  87. code span.va { color: #19177c; } /* Variable */
  88. code span.vs { color: #4070a0; } /* VerbatimString */
  89. code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
  90. </style>
  91. <link rel="stylesheet" href="style.css" type="text/css" />
  92. </head>
  93. <body>
  94. <div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
  95. <div class="book-summary">
  96. <nav role="navigation">
  97. <ul class="summary">
  98. <li><a href="./">Visualisation de données : éléments théoriques et applications avec R</a></li>
  99. <li class="divider"></li>
  100. <li class="chapter" data-level="" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i>Prerequis</a><ul>
  101. <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-r"><i class="fa fa-check"></i>Installer R</a></li>
  102. <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-rstudio-facultatif"><i class="fa fa-check"></i>Installer RStudio (facultatif)</a></li>
  103. <li class="chapter" data-level="" data-path="index.html"><a href="index.html#installer-les-packages-necessaires"><i class="fa fa-check"></i>Installer les packages nécessaires</a></li>
  104. </ul></li>
  105. <li class="chapter" data-level="1" data-path="intro.html"><a href="intro.html"><i class="fa fa-check"></i><b>1</b> Intro</a><ul>
  106. <li class="chapter" data-level="1.1" data-path="intro.html"><a href="intro.html#section"><i class="fa fa-check"></i><b>1.1</b> </a></li>
  107. <li class="chapter" data-level="1.2" data-path="intro.html"><a href="intro.html#mappings-in-ggplot"><i class="fa fa-check"></i><b>1.2</b> Mappings in ggplot</a></li>
  108. <li class="chapter" data-level="1.3" data-path="intro.html"><a href="intro.html#scales-in-ggplot"><i class="fa fa-check"></i><b>1.3</b> scales in ggplot</a></li>
  109. </ul></li>
  110. <li class="chapter" data-level="2" data-path="types-de-datasets-et-types-de-donnees.html"><a href="types-de-datasets-et-types-de-donnees.html"><i class="fa fa-check"></i><b>2</b> Types de datasets et types de données</a><ul>
  111. <li class="chapter" data-level="2.1" data-path="types-de-datasets-et-types-de-donnees.html"><a href="types-de-datasets-et-types-de-donnees.html#todo"><i class="fa fa-check"></i><b>2.1</b> TODO</a></li>
  112. </ul></li>
  113. <li class="chapter" data-level="3" data-path="perception-systeme-visuel-marques-et-canaux-couleurs.html"><a href="perception-systeme-visuel-marques-et-canaux-couleurs.html"><i class="fa fa-check"></i><b>3</b> Perception : système visuel, marques et canaux, couleurs</a><ul>
  114. <li class="chapter" data-level="3.1" data-path="perception-systeme-visuel-marques-et-canaux-couleurs.html"><a href="perception-systeme-visuel-marques-et-canaux-couleurs.html#todo-1"><i class="fa fa-check"></i><b>3.1</b> TODO</a></li>
  115. </ul></li>
  116. <li class="chapter" data-level="4" data-path="abstraction-de-tache.html"><a href="abstraction-de-tache.html"><i class="fa fa-check"></i><b>4</b> Abstraction de tâche</a><ul>
  117. <li class="chapter" data-level="4.1" data-path="abstraction-de-tache.html"><a href="abstraction-de-tache.html#todo-2"><i class="fa fa-check"></i><b>4.1</b> TODO</a></li>
  118. </ul></li>
  119. <li class="chapter" data-level="5" data-path="principes-de-design.html"><a href="principes-de-design.html"><i class="fa fa-check"></i><b>5</b> Principes de design</a><ul>
  120. <li class="chapter" data-level="5.1" data-path="principes-de-design.html"><a href="principes-de-design.html#todo-3"><i class="fa fa-check"></i><b>5.1</b> TODO</a></li>
  121. </ul></li>
  122. <li class="chapter" data-level="6" data-path="visualisation-de-donnees-tabulaires.html"><a href="visualisation-de-donnees-tabulaires.html"><i class="fa fa-check"></i><b>6</b> Visualisation de données tabulaires</a><ul>
  123. <li class="chapter" data-level="6.1" data-path="visualisation-de-donnees-tabulaires.html"><a href="visualisation-de-donnees-tabulaires.html#todo-4"><i class="fa fa-check"></i><b>6.1</b> TODO</a></li>
  124. </ul></li>
  125. <li class="chapter" data-level="7" data-path="interaction.html"><a href="interaction.html"><i class="fa fa-check"></i><b>7</b> Interaction</a><ul>
  126. <li class="chapter" data-level="7.1" data-path="interaction.html"><a href="interaction.html#todo-5"><i class="fa fa-check"></i><b>7.1</b> TODO</a></li>
  127. </ul></li>
  128. <li class="chapter" data-level="8" data-path="visualisation-de-donnees-spatiales.html"><a href="visualisation-de-donnees-spatiales.html"><i class="fa fa-check"></i><b>8</b> Visualisation de données spatiales</a><ul>
  129. <li class="chapter" data-level="8.1" data-path="visualisation-de-donnees-spatiales.html"><a href="visualisation-de-donnees-spatiales.html#todo-6"><i class="fa fa-check"></i><b>8.1</b> TODO</a></li>
  130. </ul></li>
  131. <li class="chapter" data-level="9" data-path="visualisation-de-reseaux-et-graphes.html"><a href="visualisation-de-reseaux-et-graphes.html"><i class="fa fa-check"></i><b>9</b> Visualisation de réseaux et graphes</a></li>
  132. <li class="chapter" data-level="10" data-path="visualisation-de-texte.html"><a href="visualisation-de-texte.html"><i class="fa fa-check"></i><b>10</b> Visualisation de texte</a><ul>
  133. <li class="chapter" data-level="10.1" data-path="visualisation-de-texte.html"><a href="visualisation-de-texte.html#todo-7"><i class="fa fa-check"></i><b>10.1</b> TODO</a></li>
  134. </ul></li>
  135. <li class="chapter" data-level="11" data-path="visualisation-de-texte-1.html"><a href="visualisation-de-texte-1.html"><i class="fa fa-check"></i><b>11</b> Visualisation de texte</a><ul>
  136. <li class="chapter" data-level="11.1" data-path="visualisation-de-texte-1.html"><a href="visualisation-de-texte-1.html#todo-8"><i class="fa fa-check"></i><b>11.1</b> TODO</a></li>
  137. </ul></li>
  138. <li class="chapter" data-level="12" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html"><i class="fa fa-check"></i><b>12</b> <code>ggplot2</code> : techniques avancées</a><ul>
  139. <li class="chapter" data-level="12.1" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#creer-son-propre-theme-ggplot2"><i class="fa fa-check"></i><b>12.1</b> Créer son propre thème <code>ggplot2</code></a><ul>
  140. <li class="chapter" data-level="12.1.1" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#un-theme-est-une-fonction"><i class="fa fa-check"></i><b>12.1.1</b> un thème est une fonction</a></li>
  141. <li class="chapter" data-level="12.1.2" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#modifier-un-theme-de-base-avec-replace"><i class="fa fa-check"></i><b>12.1.2</b> modifier un thème de base avec <code>%+replace%</code></a></li>
  142. <li class="chapter" data-level="12.1.3" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#definir-de-nouveaux-attributs"><i class="fa fa-check"></i><b>12.1.3</b> définir de nouveaux attributs</a></li>
  143. <li class="chapter" data-level="12.1.4" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#exemple"><i class="fa fa-check"></i><b>12.1.4</b> Exemple</a></li>
  144. </ul></li>
  145. <li class="chapter" data-level="12.2" data-path="ggplot2-techniques-avancees.html"><a href="ggplot2-techniques-avancees.html#utiliser-ggplot2-dans-des-fonctions"><i class="fa fa-check"></i><b>12.2</b> Utiliser <code>ggplot2</code> dans des fonctions</a></li>
  146. </ul></li>
  147. <li class="chapter" data-level="" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i>References</a></li>
  148. <li class="divider"></li>
  149. <li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
  150. </ul>
  151. </nav>
  152. </div>
  153. <div class="book-body">
  154. <div class="body-inner">
  155. <div class="book-header" role="navigation">
  156. <h1>
  157. <i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Visualisation de données : éléments théoriques et applications avec R</a>
  158. </h1>
  159. </div>
  160. <div class="page-wrapper" tabindex="-1" role="main">
  161. <div class="page-inner">
  162. <section class="normal" id="section-">
  163. <div id="abstraction-de-tache" class="section level1">
  164. <h1><span class="header-section-number">Chapitre 4</span> Abstraction de tâche</h1>
  165. <div id="todo-2" class="section level2">
  166. <h2><span class="header-section-number">4.1</span> TODO</h2>
  167. </div>
  168. </div>
  169. </section>
  170. </div>
  171. </div>
  172. </div>
  173. <a href="perception-systeme-visuel-marques-et-canaux-couleurs.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
  174. <a href="principes-de-design.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
  175. </div>
  176. </div>
  177. <script src="libs/gitbook-2.6.7/js/app.min.js"></script>
  178. <script src="libs/gitbook-2.6.7/js/lunr.js"></script>
  179. <script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>
  180. <script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script>
  181. <script src="libs/gitbook-2.6.7/js/plugin-fontsettings.js"></script>
  182. <script src="libs/gitbook-2.6.7/js/plugin-bookdown.js"></script>
  183. <script src="libs/gitbook-2.6.7/js/jquery.highlight.js"></script>
  184. <script>
  185. gitbook.require(["gitbook"], function(gitbook) {
  186. gitbook.start({
  187. "sharing": {
  188. "github": false,
  189. "facebook": true,
  190. "twitter": true,
  191. "google": false,
  192. "linkedin": false,
  193. "weibo": false,
  194. "instapaper": false,
  195. "vk": false,
  196. "all": ["facebook", "google", "twitter", "linkedin", "weibo", "instapaper"]
  197. },
  198. "fontsettings": {
  199. "theme": "white",
  200. "family": "sans",
  201. "size": 2
  202. },
  203. "edit": {
  204. "link": null,
  205. "text": null
  206. },
  207. "history": {
  208. "link": null,
  209. "text": null
  210. },
  211. "download": ["dataviz.pdf", "dataviz.epub"],
  212. "toc": {
  213. "collapse": "subsection"
  214. }
  215. });
  216. });
  217. </script>
  218. </body>
  219. </html>