Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment you will learn R by using swirl - R package. It will guide you by step - by - step process through

In this assignment you will learn R by using swirl - R package.
It will guide you by step-by-step process through a self-paced interactive learning environment. Assuming that you've already installed R and RStudio, you need to install swirl package. To install swirl package, type the following in R studio console:
install.packages("swirl")
and press Enter, then just type the following, pressing Enter after each line:
> library("swirl")
> swirl()
Select Option 1(i.e.,"R Programming" ). Complete the following exercises within "R Programming"
1: Basic Building Blocks
2: Workspace and Files
3: Sequences of Numbers
4: Vectors
5: Missing Values
6: Subsetting Vectors
7: Matrices and Data Frames
9: Functions
12: Looking at Data
Once the exercises are complete, upload the .Rhistory file in the blackboard. The .Rhistory file can be found in your working directory. You can locate the working directory by typing getwd() in Rstudio console .
To navigate through swirl you need to remember the following commands:
When you are at the R prompt (>):|-- Typing skip() allows you to skip the current question.
-- Typing play() lets you experiment with R on your own; swirl will ignore what you do...
-- UNTIL you type nxt() which will regain swirl's attention.
-- Typing bye() causes swirl to exit.
-- Typing main() returns you to swirl's main menu.
-- Typing info() dis
Source on Save
Run
Source
insta71.packages("Swir1")
1:1(Top Level) :
RSCr
Console
Terminal
Background Jobs
R.R4.4.01
ype aemo(s tor some aemos, ne ip() tor on-itne nep, or
he7p. start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> insta77.packages ("swir7")
WARNING: Rtoo7s is required to build R packages but is not current7y instal7ed. lease download and instal7 the appropriate version of Rtools before proceeding:
https: // cran.
rstudio.com/bidisy
Instal7ing package into 'C/4.4'(as '7ib' is unspecified)
a7so instal7ing the dependencies "utfos" "pirdard. {pkgconfig',"sys', "crayon',
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

Students also viewed these Databases questions

Question

Are your goals SMART?

Answered: 1 week ago