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 arithmetic operations operations on vectors the recycle rule for adding and subt 1 | .
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: Arithmetic Operations; Operations on vectors; the Recycle Rule for adding and 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 R Studio). Enter code that handles the following (show all code, comment for each code line and the computed results in your screen shots)
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
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
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 arithmetic operations operations on vectors the recycle rule for adding and subt 1 |
PSYC290N - Lifespan Development REFLECTION ASSIGNMENT Required ResourcesRead/review the following resources for this activity: Textbook:…
Unit VI Case Study Weight: 10% of course grade Grading Rubric Instructions Most would agree that…
Read the assigned article and answer the following questions. Be thorough and accurate in your responses. Create…
Please read the book The Little Prince by Antoine de Saint-Exupéry and make a book…
PlEASE ANSWER THE TWO PARTS IN TWO SEPARATE FILES. ITS TWO PARTS TO THIS QUESTION.…
PSYC290N - Lifespan Development Required ResourcesRead/review the following resources for this activity: Lesson Minimum of…