Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Submit your assignment as plain text, .txt, or as a .r script file. Your submitted script should stand alone (i.e., I should be able to

image text in transcribedimage text in transcribedimage text in transcribed

Submit your assignment as plain text, .txt, or as a .r script file. Your submitted script should stand alone (i.e., I should be able to follow what you are intending to calculate from your code and comments, without referencing these instructions) - comment where appropriate to make your script easy to follow and replicable. 1.Calculate the following: 1) 1+2(3+4) 2) 1+21+31+41+51+61 3) 122+1223 4) (4+3)(2+5) 5) 5313 2.Generate the following sequences using seq()or rep() function: 1) ( "a", "a", "a", "a", "a", "a", "a", "a", "a", "a") 2) (1,1,1,2,2,2,3,3,3,4,4,4,5,5,5) 3) A set of odd numbers between 1 and 100 4) (1,3,5,7,1,3,5,7,1,3,5,7,1,3,5,7) 5) (2,4,6,4,8,12,6,12,18,8,16,24) 3.Create a vector of the following information and extract your student ID as a numeric value: (your student ID, your name, your major, your expected graduation year) 4.Creating the following vector and sort in descending order. (100,134,121,1215,12,15,1781,131,351,3683,11,6,453) 5.Using the following R code, create the vector "vector1" and then create a new vector without missing values. Please name the new vector, "new vector" vector1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions