R language assignment and discussion

 

Assignment:

Now that you have R installed on your computer, you will begin to get some experience (hands-on) with the software. For this assignment, you are exposed to just 4 features of R: Arithmetic Operations; Operations on vectors; the Recycle Rule for adding/subtracting vectors; and Creating a S3 Class Object. A separate screen shot is required for execution of each feature. Open R (either command line or RStudio). Enter code that will handle the following (show all code, comment for each code line and the computed results in your screen shots). These are instructions; do NOT just write the instructions – actually show this within R and capture a readable screen shot to show that it works properly!!

Screen shot 1: Arithmetic Operations

assign a value of 144 to x

assign a value of 6 to y

add x and y

subtract y from x

multiply x times y

divide x by y

find the square root of x

Screen shot 2: Operations on vectors

create a vector (afc) and assign values 2,6,3

create a vector (nfc) and assign values 6,4,2

add afc and nfc

Screen shot 3: Recycle Rule for adding and subtracting vectors

assign values 2,1,8,3 to vector x

assign values 9,4 to vector y

add x to y

notice the warning message – use the Recycle Rule for adding vectors; then

add x to y and show results

subtract 1 from x – apply the Recycle Rule for subtracting vectors; then

subtract y from x and show results

Screen shot 4: Create an S3 Class Object

create a list – with components: name = Your name, date = today’s date, and score = score you desire on Assignment 2.

name the class as “graduate student”

Save the screen shots as a MS Word document (*.docx).

Discussion:

Why are statistical programming languages important to data scientists? What are some advantages and disadvantages the R programming language has over the other main statistical

programming languages (i.e. Python, SAS, SQL)?

When replying to a classmate, offer your opinion on what they posted comparing the R programming language to the other statistical programming languages. Using at least 3 – 5 sentences,

explain why you agreed or disagreed with their evaluation of the different statistical programming languages.

Requirements: as per question







Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Get 15% OFF on your FIRST order. Use the coupon code: new15