Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Solve the following questions with r programming. (25p) a. Install and use animals data set included in the cluster package. b. Show the first

image text in transcribed
4. Solve the following questions with r programming. (25p) a. Install and use "animals" data set included in the "cluster" package. b. Show the first 5 rows of this dataset c. Create a data frame of 5 rows of record with the columns which are name, age and salary. (set the row data from yourself) d. add the location column to the data frame. (also add the data for this column) e View the age and location of records which salaries greater than 3000 TL. f. Calculate net wages by taking the tax deduction of salaries by 20 percent. Then calculate the average salary of all employees. g Display the best salary and worst salary among employees. h. Create and display a matrix with the results obtained

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

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions

Question

What is the growth rate of GDP per capita?

Answered: 1 week ago