logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Aashif AliStatistics
(5/5)

609 Answers

Hire Me
expert
Myra HaydenOthers
(5/5)

774 Answers

Hire Me
expert
Kyle BaileyFinance
(4/5)

518 Answers

Hire Me
expert
Douglas CowleyyPsychology
(5/5)

668 Answers

Hire Me
R Programming
(5/5)

Construct 2 lists containing mentioned data types (Numeric, Character, Complex, Logical, Vector) and do the following

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Problem 1: Use R  to compute the following values.

(a) 27(38-17)

(b) (147¬) * (39) 

(c)   

(d) 54%3

(e) 54/3

(f) Find cube of 999

(g)

 

 

Problem 2: Construct 2 lists containing mentioned data types  (Numeric, Character, Complex, Logical, Vector) and do the following…

a. Create another list which has a vector as an input inside it.

b. Find the length and class of the above created list.

 

Problem 3: Create a list of two vectors containing integers (numbers from 1 to 10 in one and 5 to 15 in other) 

Index the 8th element of the first list and 8th element of second list

Unlist the second back to atomic vectors

Subset the new list from 6th element to 14th element

Problem 4: Create a list of 5 states having state name as variable name and number of covid-19 cases as its values.

A. Access a few values through its variable name use $ to do so.

B. Find the class and length of the list

C. Subset the third state and its value.

 

Note: Use R to solve the given problems in the above.  After you do so, cut and paste your input and output from R to Word, else you can submit your code file along with the question and the question number.  If you are sending it in a word file add numbering in Word to identify each part of each problem.  (Do this for every problem from now on.)

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme