Commit e07614c2 authored by Laurence Viry's avatar Laurence Viry

ajout Tutoriel ggplot2 (Harvard)

parent be28f8aa
This diff is collapsed.
# Application shiny: tutoriel d'apprentissage de ggplot
library(tidyverse)
library(rstudioapi)
library(miniUI)
library(moonBook)
library(shinyAce)
library(ggthemes)
library(shiny)
library(stringr)
library(editData)
library(shinyWidgets)
library(gcookbook)
library(shiny)
# Only run examples in interactive R sessions
if (interactive()) {
result<-ggplotAssist(mtcars)
result
}
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Country,CPI,Region
Afghanistan,1.5,Asia Pacific
Albania,3.1,East EU Cemt Asia
Algeria,2.9,MENA
Angola,2,SSA
Argentina,3,Americas
Armenia,2.6,East EU Cemt Asia
Australia,8.8,Asia Pacific
Austria,7.8,EU W. Europe
Azerbaijan,2.4,East EU Cemt Asia
Bahamas,7.3,Americas
Bahrain,5.1,MENA
Bangladesh,2.7,Asia Pacific
Barbados,7.8,Americas
Belarus,2.4,East EU Cemt Asia
Belgium,7.5,EU W. Europe
Benin,3,SSA
Bhutan,5.7,Asia Pacific
Bolivia,2.8,Americas
Bosnia and Herzegovina,3.2,East EU Cemt Asia
Botswana,6.1,SSA
Brazil,3.8,Americas
Brunei,5.2,Asia Pacific
Bulgaria,3.3,EU W. Europe
Burkina Faso,3,SSA
Burundi,1.9,SSA
Cambodia,2.1,Asia Pacific
Cameroon,2.5,SSA
Canada,8.7,Americas
Cape Verde,5.5,SSA
Central African Republic,2.2,SSA
Chad,2,SSA
Chile,7.2,Americas
China,3.6,Asia Pacific
Colombia,3.4,Americas
Comoros,2.4,SSA
Congo Republic,2.2,SSA
Costa Rica,4.8,Americas
Croatia,4,East EU Cemt Asia
Cuba,4.2,Americas
Cyprus,6.3,EU W. Europe
Czech Republic,4.4,EU W. Europe
Côte d'Ivoire,2.2,SSA
Congo,2,SSA
Denmark,9.4,EU W. Europe
Djibouti,3,SSA
Dominica,5.2,Americas
Dominican Republic,2.6,Americas
Ecuador,2.7,Americas
Egypt,2.9,MENA
El Salvador,3.4,Americas
Equatorial Guinea,1.9,SSA
Eritrea,2.5,SSA
Estonia,6.4,EU W. Europe
Ethiopia,2.7,SSA
Finland,9.4,EU W. Europe
France,7,EU W. Europe
FYR Macedonia,3.9,East EU Cemt Asia
Gabon,3,SSA
Gambia,3.5,SSA
Georgia,4.1,East EU Cemt Asia
Germany,8,EU W. Europe
Ghana,3.9,SSA
Greece,3.4,EU W. Europe
Guatemala,2.7,Americas
Guinea,2.1,SSA
Guinea-Bissau,2.2,SSA
Guyana,2.5,Americas
Haiti,1.8,Americas
Honduras,2.6,Americas
Hong Kong,8.4,Asia Pacific
Hungary,4.6,EU W. Europe
Iceland,8.3,EU W. Europe
India,3.1,Asia Pacific
Indonesia,3,Asia Pacific
Iran,2.7,MENA
Iraq,1.8,MENA
Ireland,7.5,EU W. Europe
Israel,5.8,MENA
Italy,3.9,EU W. Europe
Jamaica,3.3,Americas
Japan,8,Asia Pacific
Jordan,4.5,MENA
Kazakhstan,2.7,East EU Cemt Asia
Kenya,2.2,SSA
Kiribati,3.1,Asia Pacific
Korea (North),1,Asia Pacific
Korea (South),5.4,Asia Pacific
Kosovo,2.9,East EU Cemt Asia
Kuwait,4.6,MENA
Kyrgyzstan,2.1,East EU Cemt Asia
Laos,2.2,Asia Pacific
Latvia,4.2,EU W. Europe
Lebanon,2.5,MENA
Lesotho,3.5,SSA
Liberia,3.2,SSA
Libya,2,MENA
Lithuania,4.8,EU W. Europe
Luxembourg,8.5,EU W. Europe
Macau,5.1,Asia Pacific
Madagascar,3,SSA
Malawi,3,SSA
Malaysia,4.3,Asia Pacific
Maldives,2.5,Asia Pacific
Mali,2.8,SSA
Malta,5.6,EU W. Europe
Mauritania,2.4,SSA
Mauritius,5.1,SSA
Mexico,3,Americas
Moldova,2.9,East EU Cemt Asia
Mongolia,2.7,Asia Pacific
Montenegro,4,East EU Cemt Asia
Morocco,3.4,MENA
Mozambique,2.7,SSA
Myanmar,1.5,Asia Pacific
Namibia,4.4,SSA
Nepal,2.2,Asia Pacific
Netherlands,8.9,EU W. Europe
New Zealand,9.5,Asia Pacific
Nicaragua,2.5,Americas
Niger,2.5,SSA
Nigeria,2.4,SSA
Norway,9,EU W. Europe
Oman,4.8,MENA
Pakistan,2.5,Asia Pacific
Panama,3.3,Americas
Papua New Guinea,2.2,Asia Pacific
Paraguay,2.2,Americas
Peru,3.4,Americas
Philippines,2.6,Asia Pacific
Poland,5.5,EU W. Europe
Portugal,6.1,EU W. Europe
Puerto Rico,5.6,Americas
Qatar,7.2,MENA
Romania,3.6,EU W. Europe
Russia,2.4,East EU Cemt Asia
Rwanda,5,SSA
Saint Lucia,7,Americas
Saint Vincent and the Grenadines,5.8,Americas
Samoa,3.9,Asia Pacific
Sao Tome & Principe,3,SSA
Saudi Arabia,4.4,MENA
Senegal,2.9,SSA
Serbia,3.3,East EU Cemt Asia
Seychelles,4.8,SSA
Sierra Leone,2.5,SSA
Singapore,9.2,Asia Pacific
Slovakia,4,EU W. Europe
Slovenia,5.9,EU W. Europe
Solomon Islands,2.7,Asia Pacific
Somalia,1,SSA
South Africa,4.1,SSA
Spain,6.2,EU W. Europe
Sri Lanka,3.3,Asia Pacific
Sudan,1.6,SSA
Suriname,3,Americas
Swaziland,3.1,SSA
Sweden,9.3,EU W. Europe
Switzerland,8.8,EU W. Europe
Syria,2.6,MENA
Taiwan,6.1,Asia Pacific
Tajikistan,2.3,East EU Cemt Asia
Tanzania,3,SSA
Thailand,3.4,Asia Pacific
Timor-Leste,2.4,Asia Pacific
Togo,2.4,SSA
Tonga,3.1,Asia Pacific
Trinidad and Tobago,3.2,Americas
Tunisia,3.8,MENA
Turkey,4.2,East EU Cemt Asia
Turkmenistan,1.6,East EU Cemt Asia
Uganda,2.4,SSA
Ukraine,2.3,East EU Cemt Asia
United Arab Emirates,6.8,MENA
Britain,7.8,EU W. Europe
United States,7.1,Americas
Uruguay,7,Americas
Uzbekistan,1.6,East EU Cemt Asia
Vanuatu,3.5,Asia Pacific
Venezuela,1.9,Americas
Vietnam,2.9,Asia Pacific
Yemen,2.1,MENA
Zambia,3.2,SSA
Zimbabwe,2.2,SSA
"","Country","HDI.Rank","HDI","CPI","Region"
"1","Afghanistan",172,0.398,1.5,"Asia Pacific"
"2","Albania",70,0.739,3.1,"East EU Cemt Asia"
"3","Algeria",96,0.698,2.9,"MENA"
"4","Angola",148,0.486,2,"SSA"
"5","Argentina",45,0.797,3,"Americas"
"6","Armenia",86,0.716,2.6,"East EU Cemt Asia"
"7","Australia",2,0.929,8.8,"Asia Pacific"
"8","Austria",19,0.885,7.8,"EU W. Europe"
"9","Azerbaijan",91,0.7,2.4,"East EU Cemt Asia"
"10","Bahamas",53,0.771,7.3,"Americas"
"11","Bahrain",42,0.806,5.1,"MENA"
"12","Bangladesh",146,0.5,2.7,"Asia Pacific"
"13","Barbados",47,0.793,7.8,"Americas"
"14","Belarus",65,0.756,2.4,"East EU Cemt Asia"
"15","Belgium",18,0.886,7.5,"EU W. Europe"
"16","Benin",167,0.427,3,"SSA"
"17","Bhutan",141,0.522,5.7,"Asia Pacific"
"18","Bolivia",108,0.663,2.8,"Americas"
"19","Bosnia and Herzegovina",74,0.733,3.2,"East EU Cemt Asia"
"20","Botswana",118,0.633,6.1,"SSA"
"21","Brazil",84,0.718,3.8,"Americas"
"22","Britain",28,0.863,7.8,"EU W. Europe"
"23","Bulgaria",55,0.771,3.3,"EU W. Europe"
"24","Burkina Faso",181,0.331,3,"SSA"
"25","Burundi",185,0.316,1.9,"SSA"
"26","Cambodia",139,0.523,2.1,"Asia Pacific"
"27","Cameroon",150,0.482,2.5,"SSA"
"28","Canada",6,0.908,8.7,"Americas"
"29","Cape Verde",133,0.568,5.5,"SSA"
"30","Central African Republic",179,0.343,2.2,"SSA"
"31","Chad",183,0.328,2,"SSA"
"32","Chile",44,0.805,7.2,"Americas"
"33","China",101,0.687,3.6,"Asia Pacific"
"34","Colombia",87,0.71,3.4,"Americas"
"35","Comoros",163,0.433,2.4,"SSA"
"36","Congo",187,0.286,2,"SSA"
"37","Congo Republic",137,0.533,2.2,"SSA"
"38","Costa Rica",69,0.744,4.8,"Americas"
"39","Côte d'Ivoire",170,0.4,2.2,"SSA"
"40","Croatia",46,0.796,4,"East EU Cemt Asia"
"41","Cuba",51,0.776,4.2,"Americas"
"42","Cyprus",31,0.84,6.3,"EU W. Europe"
"43","Czech Republic",27,0.865,4.4,"EU W. Europe"
"44","Denmark",16,0.895,9.4,"EU W. Europe"
"45","Djibouti",165,0.43,3,"SSA"
"46","Dominica",81,0.724,5.2,"Americas"
"47","Dominican Republic",98,0.689,2.6,"Americas"
"48","Ecuador",83,0.72,2.7,"Americas"
"49","Egypt",113,0.644,2.9,"MENA"
"50","El Salvador",105,0.674,3.4,"Americas"
"51","Equatorial Guinea",136,0.537,1.9,"SSA"
"52","Eritrea",177,0.349,2.5,"SSA"
"53","Estonia",34,0.835,6.4,"EU W. Europe"
"54","Ethiopia",174,0.363,2.7,"SSA"
"55","Finland",22,0.882,9.4,"EU W. Europe"
"56","France",20,0.884,7,"EU W. Europe"
"57","Gabon",106,0.674,3,"SSA"
"58","Gambia",168,0.42,3.5,"SSA"
"59","Georgia",75,0.733,4.1,"East EU Cemt Asia"
"60","Germany",9,0.905,8,"EU W. Europe"
"61","Ghana",135,0.541,3.9,"SSA"
"62","Greece",29,0.861,3.4,"EU W. Europe"
"63","Guatemala",131,0.574,2.7,"Americas"
"64","Guinea",178,0.344,2.1,"SSA"
"65","Guinea-Bissau",176,0.353,2.2,"SSA"
"66","Guyana",117,0.633,2.5,"Americas"
"67","Haiti",158,0.454,1.8,"Americas"
"68","Honduras",121,0.625,2.6,"Americas"
"69","Hong Kong",13,0.898,8.4,"Asia Pacific"
"70","Hungary",38,0.816,4.6,"EU W. Europe"
"71","Iceland",14,0.898,8.3,"EU W. Europe"
"72","India",134,0.547,3.1,"Asia Pacific"
"73","Indonesia",124,0.617,3,"Asia Pacific"
"74","Iran",88,0.707,2.7,"MENA"
"75","Iraq",132,0.573,1.8,"MENA"
"76","Ireland",7,0.908,7.5,"EU W. Europe"
"77","Israel",17,0.888,5.8,"MENA"
"78","Italy",24,0.874,3.9,"EU W. Europe"
"79","Jamaica",79,0.727,3.3,"Americas"
"80","Japan",12,0.901,8,"Asia Pacific"
"81","Jordan",95,0.698,4.5,"MENA"
"82","Kazakhstan",68,0.745,2.7,"East EU Cemt Asia"
"83","Kenya",143,0.509,2.2,"SSA"
"84","Kiribati",122,0.624,3.1,"Asia Pacific"
"85","Korea (South)",15,0.897,5.4,"Asia Pacific"
"86","Kuwait",63,0.76,4.6,"MENA"
"87","Kyrgyzstan",126,0.615,2.1,"East EU Cemt Asia"
"88","Laos",138,0.524,2.2,"Asia Pacific"
"89","Latvia",43,0.805,4.2,"EU W. Europe"
"90","Lebanon",71,0.739,2.5,"MENA"
"91","Lesotho",160,0.45,3.5,"SSA"
"92","Liberia",182,0.329,3.2,"SSA"
"93","Libya",64,0.76,2,"MENA"
"94","Lithuania",40,0.81,4.8,"EU W. Europe"
"95","Luxembourg",25,0.867,8.5,"EU W. Europe"
"96","Madagascar",151,0.48,3,"SSA"
"97","Malawi",171,0.4,3,"SSA"
"98","Malaysia",61,0.761,4.3,"Asia Pacific"
"99","Maldives",109,0.661,2.5,"Asia Pacific"
"100","Mali",175,0.359,2.8,"SSA"
"101","Malta",36,0.832,5.6,"EU W. Europe"
"102","Mauritania",159,0.453,2.4,"SSA"
"103","Mauritius",77,0.728,5.1,"SSA"
"104","Mexico",57,0.77,3,"Americas"
"105","Moldova",111,0.649,2.9,"East EU Cemt Asia"
"106","Mongolia",110,0.653,2.7,"Asia Pacific"
"107","Montenegro",54,0.771,4,"East EU Cemt Asia"
"108","Morocco",130,0.582,3.4,"MENA"
"109","Mozambique",184,0.322,2.7,"SSA"
"110","Myanmar",149,0.483,1.5,"Asia Pacific"
"111","Namibia",120,0.625,4.4,"SSA"
"112","Nepal",157,0.458,2.2,"Asia Pacific"
"113","Netherlands",3,0.91,8.9,"EU W. Europe"
"114","New Zealand",5,0.908,9.5,"Asia Pacific"
"115","Nicaragua",129,0.589,2.5,"Americas"
"116","Niger",186,0.295,2.5,"SSA"
"117","Nigeria",156,0.459,2.4,"SSA"
"118","Norway",1,0.943,9,"EU W. Europe"
"119","Oman",89,0.705,4.8,"MENA"
"120","Pakistan",145,0.504,2.5,"Asia Pacific"
"121","Panama",58,0.768,3.3,"Americas"
"122","Papua New Guinea",153,0.466,2.2,"Asia Pacific"
"123","Paraguay",107,0.665,2.2,"Americas"
"124","Peru",80,0.725,3.4,"Americas"
"125","Philippines",112,0.644,2.6,"Asia Pacific"
"126","Poland",39,0.813,5.5,"EU W. Europe"
"127","Portugal",41,0.809,6.1,"EU W. Europe"
"128","Qatar",37,0.831,7.2,"MENA"
"129","Romania",50,0.781,3.6,"EU W. Europe"
"130","Russia",66,0.755,2.4,"East EU Cemt Asia"
"131","Rwanda",166,0.429,5,"SSA"
"132","Saint Lucia",82,0.723,7,"Americas"
"133","Saint Vincent and the Grenadines",85,0.717,5.8,"Americas"
"134","Samoa",99,0.688,3.9,"Asia Pacific"
"135","Saudi Arabia",56,0.77,4.4,"MENA"
"136","Senegal",155,0.459,2.9,"SSA"
"137","Serbia",59,0.766,3.3,"East EU Cemt Asia"
"138","Seychelles",52,0.773,4.8,"SSA"
"139","Sierra Leone",180,0.336,2.5,"SSA"
"140","Singapore",26,0.866,9.2,"Asia Pacific"
"141","Slovakia",35,0.834,4,"EU W. Europe"
"142","Slovenia",21,0.884,5.9,"EU W. Europe"
"143","Solomon Islands",142,0.51,2.7,"Asia Pacific"
"144","South Africa",123,0.619,4.1,"SSA"
"145","Spain",23,0.878,6.2,"EU W. Europe"
"146","Sri Lanka",97,0.691,3.3,"Asia Pacific"
"147","Sudan",169,0.408,1.6,"SSA"
"148","Suriname",104,0.68,3,"Americas"
"149","Swaziland",140,0.522,3.1,"SSA"
"150","Sweden",10,0.904,9.3,"EU W. Europe"
"151","Switzerland",11,0.903,8.8,"EU W. Europe"
"152","Syria",119,0.632,2.6,"MENA"
"153","Tajikistan",127,0.607,2.3,"East EU Cemt Asia"
"154","Tanzania",152,0.466,3,"SSA"
"155","Thailand",103,0.682,3.4,"Asia Pacific"
"156","Timor-Leste",147,0.495,2.4,"Asia Pacific"
"157","Togo",162,0.435,2.4,"SSA"
"158","Tonga",90,0.704,3.1,"Asia Pacific"
"159","Trinidad and Tobago",62,0.76,3.2,"Americas"
"160","Tunisia",94,0.698,3.8,"MENA"
"161","Turkey",92,0.699,4.2,"East EU Cemt Asia"
"162","Turkmenistan",102,0.686,1.6,"East EU Cemt Asia"
"163","Uganda",161,0.446,2.4,"SSA"
"164","Ukraine",76,0.729,2.3,"East EU Cemt Asia"
"165","United Arab Emirates",30,0.846,6.8,"MENA"
"166","United States",4,0.91,7.1,"Americas"
"167","Uruguay",48,0.783,7,"Americas"
"168","Uzbekistan",115,0.641,1.6,"East EU Cemt Asia"
"169","Vanuatu",125,0.617,3.5,"Asia Pacific"
"170","Venezuela",73,0.735,1.9,"Americas"
"171","Yemen",154,0.462,2.1,"MENA"
"172","Zambia",164,0.43,3.2,"SSA"
"173","Zimbabwe",173,0.376,2.2,"SSA"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment