Problem Set 1
Hello & Welcome to R
Before attempting this assignment, be sure to follow the insturctiosn noted in the Preliminaries page under โCourse Contentโ.
Submit: .R File (Optional)
In an .R file, write code to answer the following questions. Make sure your file is appropriately titled and headered.
Note: You can submit this R file in Week 2, if you prefer.
- Create an object named
aardvarkthat stores a 3 as a single number - Create a second object named
boombathat stores a 6 as a single number - Create a third object named
centaurithat is the addition ofaardvarkandboomba - Create a fourth object named
diabolicalthat is the multiplicationaardvarkandboomba - Create an object named
ebullientthat stores three numbers as a vector: 4,5,and 6 - Create an object named
fastidiousthat stores three numbers as a vector: 8,9, and 11 - Add
ebullientandfastidioustogether, and store it in an object namedgeorge - Find the mean (average) of
fastidious, and store it in an object namedzoinks
Submit: PDF file (Due Week 1)
Answer the following questions and upload as a PDF to Blackboard.
What is your name and program of study at Syracuse?
(Optional: provide your pronouns, if you wish.)What is your prior experience with statistics, data analysis, R, and computer programming generally?
What are you hoping to get out of this class?
Please include a picture of yourself!
- It can be anything โ just make sure that you are the only person in the picture so I can clearly identify you.
What is the mean of the
fastidiousobject from your .R assignment above?