Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

  1. Solve the following questions with r programming . (25p)

    1. Install and use animals" data set included in the "cluster" package.

    2. Show the first 5 rows of this dataset

    3. Create a data frame of 5 rows of record with the columns which are name, age and salary. (set the

      row data from yourself)

    4. add the location column to the data frame. (also add the data for this column)

    5. View the age and location of records which salaries greater than 3000 TL.

    6. Calculate net wages by taking the tax deduction of salaries by 20 percent. Then calculate the average

      salary of all employees.

    7. Display the best salary and worst salary among employees.

    8. 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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

2. Why?

Answered: 1 week ago

Question

1. Where do these biases come from?

Answered: 1 week ago