第1章R語言編程與繪圖基礎............1
1.1學術圖錶的基本概念.............................................2
1.1.1學術圖錶的基本作用.................................3
1.1.2學術圖錶的基本類彆.................................5
1.1.3學術圖錶的繪製原則.................................7
1.2你為什麼要選擇R.................................................8
1.3R軟件的安裝與使用...........................................15
1.3.1R與RStudio的安裝.................................15
1.3.2包的安裝與加載.......................................16
1.4R語言編程基礎...................................................17
1.4.1數據類型...................................................17
1.4.2數據結構...................................................18
1.4.3數據屬性...................................................21
1.4.4數據的導入與導齣...................................23
1.4.5控製語句與函數編寫...............................26
1.5R語言繪圖基礎...................................................28
1.6ggplot2圖形語法..................................................30
1.6.1geom_xxx()與stat_xxx()...........................32
1.6.2視覺通道映射...........................................34
1.6.3度量調整...................................................38
1.6.4坐標係.....................44
1.6.5圖例...............53
1.6.6主題係統...................................................55
1.6.7位置調整...................................................58
1.7學術圖錶的色彩運用原理...................................62
1.7.1顔色模式...................................................62
1.7.2顔色主題的搭配原理...............................67
1.7.3學術圖錶的顔色主題...............................70
1.7.4顔色方案的拾取使用...............................72
1.7.5顔色主題的應用案例...............................75
1.8圖錶的基本類型...................................................78
1.8.1類彆比較...................................................79
1.8.2數據關係...................................................79
1.8.3數據分布...................................................81
1.8.4時間序列...................................................82
1.8.5局部整體...................................................82
1.8.6地理空間...................................................83
第2章R語言數據處理基礎...........................................84
2.1錶格的轉換...............85
2.1.1錶格的變換...............................................85
2.1.2變量的變換...............................................86
2.1.3錶格的排序...............................................87
2.2錶格的整理...............87
2.2.1錶格的拼接...............................................87
2.2.2錶格的融閤...............................................88
2.2.3錶格的分組操作.......................................90
第3章類彆比較型圖錶..................................................93
3.1柱形圖係列...............94
3.1.1單數據係列柱形圖...................................95
3.1.2多數據係列柱形圖...................................96
3.1.3堆積柱形圖...............................................97
3.1.4百分比堆積柱形圖...................................98
3.2條形圖係列...............99
3.3不等寬柱形圖.....................................................100
3.4剋利夫蘭點圖係列.............................................101
3.5坡度圖...........103
3.6南丁格爾玫瑰圖.................................................104
3.7徑嚮柱形圖...108
3.8雷達圖............110
3.9詞雲圖............113
第4章數值關係型圖錶................................................117
4.1散點圖係列....118
4.1.1趨勢顯示的二維散點圖..........................118
4.1.2分布顯示的二維散點圖.........................125
4.1.3氣泡圖.....................................................129
4.1.4三維散點圖.............................................132
4.2麯麵擬閤圖.............136
4.3等高綫圖.......139
4.4切麵圖...........140
4.5三元相圖.......142
4.6散點麯綫圖係列.................................................143
4.7瀑布圖...........145
4.8相關係數圖.............151
4.9韋恩圖...........153
第5章數據分布型圖錶................................................155
5.1統計直方圖和核密度估計圖.............................157
5.1.1統計直方圖.............................................157
5.1.2核密度估計圖.........................................157
5.2數據分布型圖錶係列.........................................161
5.2.1散點分布圖係列.....................................162
5.2.2柱形分布圖係列.....................................164
5.2.3箱形圖係列.............................................165
5.2.4其他圖錶.................................................170
5.3二維統計直方圖和二維核密度估計圖.............180
5.3.1二維統計直方圖.....................................180
5.3.2二維核密度估計圖.................................180
5.4金字塔圖和鏡麵圖.............................................184
第6章時間序列型圖錶................................................186
6.1摺綫圖與麵積圖係列.........................................187
6.1.1摺綫圖.....................................................187
6.1.2麵積圖.....................................................187
6.2日曆圖...........191
6.3螺鏇圖...........194
6.4量化波形圖.............199
6.5地平綫圖.................202
第7章局部整體型圖錶................................................2057.1餅狀圖係列...206
7.1.1餅圖.............206
7.1.2圓環圖.....................................................208
7.1.3復閤餅圖係列.........................................208
7.2馬賽剋圖........211
7.3華夫餅圖.......214
第8章高維數據可視化................................................216
8.1高維數據的變換展示.........................................218
8.1.1主成分分析法.........................................218
8.1.2t-SNE算法..............................................220
8.2分麵圖...........221
8.3矩陣散點圖.............225
8.4熱力圖...........227
8.5平行坐標係圖.....................................................230
8.6RadViz圖....................232
8.7圖標法...........233
8.7.1基於星形圖的圖標法.............................234
8.7.2基於柱形圖的圖標法.............................236
8.7.3切爾諾夫臉譜圖.....................................238
8.8錶格圖.....................241
第9章層次關係型圖錶................................................242
9.1錶示層次關係型數據的節點鏈接圖.................243
9.2樹形圖.....................248
9.3旭日圖....................252
9.4圓堆積圖.................255
9.5矩形樹狀圖.............256
第10章網絡關係型圖錶..............................................260
10.1相鄰矩陣圖...............................262
10.2和弦圖......................265
10.3桑基圖.......................270
10.4錶示網絡關係型數據的節點鏈接圖...............273
10.5蜂巢網絡圖...............281
10.6邊綁定圖....................283
第11章地理空間型圖錶...................................287
11.1不同級彆的地圖...............................................288
11.1.1世界地圖...............................................288
11.1.2國傢地圖...............................................294
11.1.3局部地圖...............................................299
11.2分級統計地圖...................................................300
11.3點描法地圖.304
11.4帶餅圖的地圖...................................................309
11.5帶柱形的地圖....................................................311
11.6沃羅諾伊地圖...................................................312
11.7帶連接綫的地圖...............................................314
11.7.1連接地圖...............................................314
11.7.2流嚮地圖...............................................315
11.8等位地圖......................317
11.9綫型地圖.......................322
11.10點狀地圖.....................324
11.11簡化示意圖.....................................................327
11.12郵標法.......................331
11.13地鐵綫路圖.....................................................333
11.13.1示意地鐵綫路圖的繪製......................334
11.13.2實際地鐵綫路圖..................................335
11.13.3地鐵綫路圖的應用..............................336
第12章論文中學術圖錶的升級技能............................341
12.1圖片的截取與處理軟件...................................342
12.1.1常見截圖軟件.......................................342
12.1.2圖片處理軟件.......................................342
12.2論文中學術圖錶的規範與調整.......................343
12.2.1圖片的格式與轉換...............................345
12.2.2圖片的分辨率.......................................348
12.2.3圖片的色彩要求...................................350
12.2.4圖片的物理尺寸...................................351
12.2.5圖片的標注格式...................................352
12.2.6圖片的占內存容量...............................352
12.2.7在R中導齣圖錶...................................354
12.3圖錶繪製的必備技能.......................................355
12.3.1矢量圖錶元素的修改...........................355
12.3.2期刊論文的圖片提取...........................357
12.3.3圖錶數據的重新提取...........................357
參考文獻...................360
· · · · · · (
收起)