Save the even numbers between 100 and 900 as an object called evens

Guideline: Save the even numbers between 100 and 900 as an object called evens. HINT: the seq function can be use to specify start number, end number and the step such that:

Save the even numbers between 100 and 900 as an object called evens
Create an R Notebook with the appropriate name and do the following:
FIRST: copy each question into your notebook so that I know what question you are answering. Include the question as a numbered section heading using R Markdown to format the header.

Question 1) Save the even numbers between 100 and 900 as an object called evens. HINT: the seq function can be use to specify start number, end number and the step such that:
seq(10, 20, 3) would give you: 10, 13, 16, 19

Question 2) Next, write a block of R code (or several blocks if you prefer) that calculates
a) the mean of evens
b) the sample variance of evens
c) the population variance of evens

Load the file smarts.rds provided on Moodle. The file contains a dataframe called “smarts” and two columns labeled “dogs” and “ravens”.
1) Write a block of code to calculate
a. the mean of the column called “dogs”.

b. population standard deviation (square root of variance) of the column called “dogs”.
2) Write a separate block of code to calculate the mean and population standard deviation of the column called “ravens”.

3) Once you have these code blocks executing in the notebook, try knitting the document to a pdf or MS Word file. If knitting fails and you receive an error — Why?

Correct the error by copying the appropriate line from history (in the environment tab), or by finding the line by scrolling back through the input in the R console.

Verify that the document will now knit to a pdf document correctly.
Save the final MS Word or pdf and upload it to Moodle to be graded.

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

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
error: