BootcampR
AN INTRODUCTION TO R
Jason A. Heppler, PhD University of Nebraska at Omaha March 10, 2020 @jaheppler
BootcampR AN INTRODUCTION TO R Jason A. Heppler, PhD University of - - PowerPoint PPT Presentation
BootcampR AN INTRODUCTION TO R Jason A. Heppler, PhD University of Nebraska at Omaha March 10, 2020 @jaheppler Hi. I'm Jason. I like to gesture at screens. Digital Engagement Librarian , University of Nebraska at Omaha Mentor, Mozilla Open
AN INTRODUCTION TO R
Jason A. Heppler, PhD University of Nebraska at Omaha March 10, 2020 @jaheppler
I like to gesture at screens.
Digital Engagement Librarian, University of Nebraska at Omaha Mentor, Mozilla Open Leaders Researcher, Humanities+Design, Stanford University
Schedule March 17: 1:30-3 Making Maps in CL 112 March 31: 1:30-3 Clustering and Classifying in CL 112
Open up RStudio. We'll start doing a few things together soon.
"The bad news is that when ever you learn a new skill you’re going to suck. It’s going to be frustrating. The good news is that is typical and happens to everyone and it is
You can’t go from knowing nothing to becoming an expert without going through a period of great frustration and great suckiness."
—Hadley Wickham
Kabbalistic tree of life Athanasius Kircher Oedipus Ægyptacus, 1652-55
Tree of Life Charles Darwin On the Origin of Species by Means of Natural Selection, 1859
Robust Action and the Rise of the Medici, 1400-1434 John Padgett and Christopher Ansell American Journal of Sociology 98:6 (May 1993)
O Say Can You See: Early Washington, D.C., Law & Family William G. Thomas III, Jennifer Guiliano, Trevor Muñoz http://earlywashingtondc.org/
ORBIS: The Stanford Geospatial Network Model of the Roman World Walter Scheidel and Elijah Meeks http://orbis.stanford.edu/
Shakespeare Tragedy Martin Grandjean http://www.martingrandjean.ch
Humanities scholars call these networks, mathematicians and network scientists call these graphs. Graphs are defined as
Nodes Edges People Letters People Membership Publications Citations Cities Railways Cities Imports/exports
Networks that are directed have an asymmetrical relationship, often represented by an arrow pointing to one or two nodes that share an edge. Similarly, networks that are undirected have a symmetrical relationship.
Nodes table
names size color A 12 red B 10 blue C 4 red D 18 red E 15 Blue
Edges table
source target weight A B 3 B C 6 C D 9 C A 4 D B 4
networks)
topologically similar but layout entirely different
Degree measures
Degree measures
account weights of edges Centrality measures
nodes (e.g., page rank)
A: Betweenness centrality B: Closeness centrality C: Eigenvector centrality D: Degree centrality E: Harmonic centrality F: Katz centrality
Degree measures
account weights of edges Centrality measures
nodes (e.g., page rank) Community
Most basic networks can only support one kind of node type - think of connections among students taking multiple courses. This network would not, however, connect both courses and students in the same network. Network theory assumes that nodes in a network are of the same type.
Bimodal networks support two node types, but note that edges in these kinds of networks must only allow edges between types, not edges within types.
networks with only one type of node
Import Convert to graph object Transform Visualize Model Communicate readr tidygraph tidygraph ggraph
dplyr verbs for working with network data
algorithms provided by igraph
structures
ggplot -- not just node-link diagrams
and more.
edges
Next workshop: March 17, 1:30p-3p: Making Networks (CL 112)