Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Page
Discussion
Edit
View history
Editing
Communication and Social Networks (Fall 2021)/R Lab 1
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This lab has three goals: # Get your R environment is set up correctly # Introduce you to the idea of R Markdown files # Create your first network graph You should have R and R Studio installed by now. In practical terms, that means there should be an RStudio icon somewhere on you computer. If you open RStudio, it should look something like this: [[File:Rstudio.png|thumb|upright=2.6|center|RStudio image from [https://en.wikipedia.org/wiki/RStudio Wikipedia]]] If you have had problems getting R installed, then look over [https://techvidvan.com/tutorials/install-r/ this tutorial] again and if you still can't get it then reach out on Discord and we'll get it figured out. * Once you have RStudio installed, read and watch the [https://rladiessydney.org/courses/ryouwithme/01-basicbasics-0/ BasicBasics 1 and 2] tutorials from the R-Ladies Sydney group. * [https://rmarkdown.rstudio.com/lesson-1.html Install R Markdown] * Right-click on [https://jeremydfoote.com/Communication-and-Social-Networks/week_3/r_markdown_example.Rmd this document], save it, and then open it in RStudio. ** Read through the file and try "knitting" it to an output document ** Finish the exercise at the end and see how that changes the output
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information