Question: (Data science and visualisation) Create a vector z as (3, -6, 7, 8); Create x as 10. Find z*x Create a list as (3, z,

(Data science and visualisation)

Create a vector z as (3, -6, 7, 8); Create x as 10. Find z*x

Create a list as (3, z, hello)

Create a matrix as

Create a data frame for the following data. The variable starting date can be a character variable.

Name

Salary

Starting date

John

21000

2010-11-01

Peter

23400

2008-02-15

Julie

26800

2007-12-11

Add a row of Mary with salary of $50000, starting date of 2009-11-1 to the data frame in previous activity

Add a column of gender to the above date frame (assign gender according to the names)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!