Sie sind auf Seite 1von 2

Assignment 0: R Bootcamp

CS109L - Autumn 2014


Turn in Deadline: Thursday October 9th at 11:59 PM
Redo Deadline: Thursday October 23rd at 11:59 PM

Overview

R Bootcamp is a short assignment designed to get you assimilated in R principles and constructs taught
in the first two weeks of the course. There are a total of 16 regular problems and one challenge problem.
Furthermore, each individual problem is described in detail in the comments of bootcamp.R (As always, feel
free to email me if you have any specific questions about any particular problem).

Grading Criteria

To receive a 1 for this assignment, you must complete at least 10 problems succinctly and correctly. Note that the challenge problem is optional and so the 10 problems may or may not include the
challenge problem. The requirements for succinctness are listed below:
1. Problems 1 - 10 (inclusive) must be accomplished in exactly 1 line of code. (Each sub-part of Problem
3 should be a one or two word answer).
2. The challenge problem must be accomplished in 2 or fewer lines of code.
3. Problem 11 must be accomplished in 2 or fewer lines of code.
4. Problems 12 - 16 (inclusive) must be accomplished in 10 or fewer lines of code.
Correctness will be assessed based on the problem requirements (e.g. a solution to a problem asking you
to pull out the 4th column of a matrix should indeed output the 4th column of the matrix). Note that the
given and solved examples in bootcamp.R do not count towards the tally of the required 10 problems.

Submission
1. Zip up bootcamp.R into bootcamp.zip
2. Email bootcamp.zip to cs109l.submissions@gmail.com (note that this is a separate submission email
address) with the subject:
Assignment 0 Turn In [Insert SUNET ID Here]
Assignment 0 Redo [Insert SUNET ID Here]
1

The body may be blank as long as the .zip file is attached. You may turn the assignment in as many times
before the deadline and I will only grade the most recent assignment.
As an example, if I were to submit assignment 0 for the redo deadline, I would send my .zip file with the
subject:
Assignment 0 Redo hgkshin.

Das könnte Ihnen auch gefallen