retweets
and likes
that contain the respective numbers from the last 5 tweetstweet_ids
that contains the numbers 1 to 5 as identifiers for the tweetsclass(...)
tweetstats
from the three vectorstweetstats
named interactions
which is the sum of retweets and likes for each observationcats
dataset from the package MASS.
class(...)
to answer this question.
wt_ratio
which is the ratio of heart and body weight. Make sure to bring both variables to a common unit of measurement (i.e. both in grams or kilograms).
First, load the package:
library(swirl)
If an error message shows up, then you probably didn’t install the package. You need to do this first with the command install.packages('swirl')
.
Next, install three courses with the follwing commands (see next slide, in case one of this commands fails):
install_course_github("swirldev", "R Programming")
install_course_github("swirldev", "Getting and Cleaning Data")
install_course_github("swirldev", "Exploratory Data Analysis")
You can start SWIRL with the following command which will guide you through the first steps:
swirl()
One additional note: When you receive the question “Would you like to receive credit for completing this course on Coursera.org?”, select “No”.
In case installing a SWIRL course fails, do the follwing:
swirl_courses-master.zip
from the following address: https://github.com/swirldev/swirl_courses/archive/master.zipgetwd()
).install_course_zip("swirl_courses-master.zip", multi=TRUE,
which_course = "R Programming")
install_course_zip("swirl_courses-master.zip", multi=TRUE,
which_course = "Getting and Cleaning Data")
install_course_zip("swirl_courses-master.zip", multi=TRUE,
which_course = "Exploratory Data Analysis")