SlideShare a Scribd company logo
1 of 35
DataAnalysis inWF ED
9 October 2017
 ggplot2, dplyr, and magrittr packages must
be installed and loaded, if you haven’t
already.
 ggplot2, dplyr, and magrittr packages must
be installed and loaded, if you haven’t
already.
DO NOT INSTALL
PACKAGESTHAT
ALREADYARE
INSTALLED
Visualization is any technique for creating images,
diagrams, or animations to communicate a message.
ggplot2 is a data visualization package (one of
many) for the statistical programming language
R.
Created by HadleyWickham in 2005, ggplot2 is
an implementation of LelandWilkinson's
Grammar of Graphics—a general scheme for
data visualization which breaks up graphs into
semantic components such as scales and layers.
 The ggplot2 package must be installed.
 If installed, the ggplot2 package must be
loaded.
 As with all R packages, do not install this
package if the package already is installed—
merely load the installed package.
 A grammar constitutes the structure and
systems for communication.
 A grammar of language consists of syntax
(arrangement of words for meaning) and
morphology (meanings of words in
language).
 A grammar of graphics consist of system of
syntax and meaning to communicate
understanding of data.
 Data is a data frame containing variables to be
plotted;
 Geometry defines the type of graphics (histogram,
box plot, line plot, density plot, dot plot....); and
 Aesthetics indicate the variables to be plotted.This
component also can control the color, the size, or the
shape of points plotted, the height of bars drawn, etc.
data
data
geometry
data
aesthetics
geometry
which is the same as
http://docs.ggplot2.org/current/
https://psu.box.com/v/R-Cheats
DataAnalysis inWF ED
9 October 2017

More Related Content

More from Penn State University

More from Penn State University (20)

Sharing Science: Tools for Improving our Research, Teaching, and Impact
Sharing Science: Tools for Improving our Research, Teaching, and ImpactSharing Science: Tools for Improving our Research, Teaching, and Impact
Sharing Science: Tools for Improving our Research, Teaching, and Impact
 
WF ED 540, Fall Semester 2018, Class Meeting 1 - Intro to the course
WF ED 540, Fall Semester 2018, Class Meeting 1 - Intro to the courseWF ED 540, Fall Semester 2018, Class Meeting 1 - Intro to the course
WF ED 540, Fall Semester 2018, Class Meeting 1 - Intro to the course
 
Class Meeting 12 -- WF ED 540 -- Fall Semester 2017
Class Meeting 12 -- WF ED 540 -- Fall Semester 2017Class Meeting 12 -- WF ED 540 -- Fall Semester 2017
Class Meeting 12 -- WF ED 540 -- Fall Semester 2017
 
WF ED 540, Class Meeting 5, Fall Semester 2017
WF ED 540, Class Meeting 5, Fall Semester 2017WF ED 540, Class Meeting 5, Fall Semester 2017
WF ED 540, Class Meeting 5, Fall Semester 2017
 
WF ED 540, Data Analysis, Fall 2017
WF ED 540, Data Analysis, Fall 2017WF ED 540, Data Analysis, Fall 2017
WF ED 540, Data Analysis, Fall 2017
 
WF ED 540 - Class Meeting 3 - Fall Semester 2017
WF ED 540 - Class Meeting 3 - Fall Semester 2017WF ED 540 - Class Meeting 3 - Fall Semester 2017
WF ED 540 - Class Meeting 3 - Fall Semester 2017
 
R syntax, including procedures for communicating data
R syntax, including procedures for communicating dataR syntax, including procedures for communicating data
R syntax, including procedures for communicating data
 
Introduction to WF ED 540, Data Analysis, Fall 2017
Introduction to WF ED 540, Data Analysis, Fall 2017Introduction to WF ED 540, Data Analysis, Fall 2017
Introduction to WF ED 540, Data Analysis, Fall 2017
 
Bob Game - Photos for a Celebration of Life
Bob Game - Photos for a Celebration of LifeBob Game - Photos for a Celebration of Life
Bob Game - Photos for a Celebration of Life
 
In Preparation for 5 April UCWHRE Meeting
In Preparation for 5 April UCWHRE MeetingIn Preparation for 5 April UCWHRE Meeting
In Preparation for 5 April UCWHRE Meeting
 
Structural Model of Topics in Academy of Human Resource Development Journals,...
Structural Model of Topics in Academy of Human Resource Development Journals,...Structural Model of Topics in Academy of Human Resource Development Journals,...
Structural Model of Topics in Academy of Human Resource Development Journals,...
 
Linking Production, Consumption, Employment, & Skills
Linking Production, Consumption, Employment,  & SkillsLinking Production, Consumption, Employment,  & Skills
Linking Production, Consumption, Employment, & Skills
 
Common Errors in Scholarly Writing, 2017
Common Errors in Scholarly Writing, 2017Common Errors in Scholarly Writing, 2017
Common Errors in Scholarly Writing, 2017
 
Introduction to "Research in Workforce Education," 2017
Introduction to "Research in Workforce Education," 2017Introduction to "Research in Workforce Education," 2017
Introduction to "Research in Workforce Education," 2017
 
WF ED 540. Class Meeting 14, 2016-Bootstrapping_in_R
WF ED 540. Class Meeting 14,  2016-Bootstrapping_in_RWF ED 540. Class Meeting 14,  2016-Bootstrapping_in_R
WF ED 540. Class Meeting 14, 2016-Bootstrapping_in_R
 
WF ED 540, Data Analysis - Spatial Data, 2016
WF ED 540, Data Analysis - Spatial Data, 2016WF ED 540, Data Analysis - Spatial Data, 2016
WF ED 540, Data Analysis - Spatial Data, 2016
 
WF ED 540 CLASS MEETING 10, Downloading & using NLSY97 data, 2016
 WF ED 540 CLASS MEETING 10, Downloading & using NLSY97 data, 2016  WF ED 540 CLASS MEETING 10, Downloading & using NLSY97 data, 2016
WF ED 540 CLASS MEETING 10, Downloading & using NLSY97 data, 2016
 
Immigration Counts
Immigration CountsImmigration Counts
Immigration Counts
 
WF ED 540 CLASS MEETING 9, APA-Compliant Tables, 2016
WF ED 540 CLASS MEETING 9, APA-Compliant Tables, 2016WF ED 540 CLASS MEETING 9, APA-Compliant Tables, 2016
WF ED 540 CLASS MEETING 9, APA-Compliant Tables, 2016
 
Immigration Anguish
Immigration AnguishImmigration Anguish
Immigration Anguish
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

WF ED 540 - Class Meeting 7 - Fall Semester 2017

  • 1. DataAnalysis inWF ED 9 October 2017
  • 2.
  • 3.  ggplot2, dplyr, and magrittr packages must be installed and loaded, if you haven’t already.
  • 4.  ggplot2, dplyr, and magrittr packages must be installed and loaded, if you haven’t already. DO NOT INSTALL PACKAGESTHAT ALREADYARE INSTALLED
  • 5.
  • 6. Visualization is any technique for creating images, diagrams, or animations to communicate a message.
  • 7. ggplot2 is a data visualization package (one of many) for the statistical programming language R. Created by HadleyWickham in 2005, ggplot2 is an implementation of LelandWilkinson's Grammar of Graphics—a general scheme for data visualization which breaks up graphs into semantic components such as scales and layers.
  • 8.  The ggplot2 package must be installed.  If installed, the ggplot2 package must be loaded.  As with all R packages, do not install this package if the package already is installed— merely load the installed package.
  • 9.
  • 10.  A grammar constitutes the structure and systems for communication.  A grammar of language consists of syntax (arrangement of words for meaning) and morphology (meanings of words in language).  A grammar of graphics consist of system of syntax and meaning to communicate understanding of data.
  • 11.
  • 12.
  • 13.  Data is a data frame containing variables to be plotted;  Geometry defines the type of graphics (histogram, box plot, line plot, density plot, dot plot....); and  Aesthetics indicate the variables to be plotted.This component also can control the color, the size, or the shape of points plotted, the height of bars drawn, etc.
  • 14.
  • 15.
  • 16. data
  • 19.
  • 20. which is the same as
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 33.
  • 35. DataAnalysis inWF ED 9 October 2017