Question
Solve the following questions with r programming . (25p) Install and use animals data set included in the cluster package. Show the first 5 rows
-
Solve the following questions with r programming . (25p)
-
Install and use animals" data set included in the "cluster" package.
-
Show the first 5 rows of this dataset
-
Create a data frame of 5 rows of record with the columns which are name, age and salary. (set the
row data from yourself)
-
add the location column to the data frame. (also add the data for this column)
-
View the age and location of records which salaries greater than 3000 TL.
-
Calculate net wages by taking the tax deduction of salaries by 20 percent. Then calculate the average
salary of all employees.
-
Display the best salary and worst salary among employees.
-
Create and display a matrix with the results obtained.
-
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started