Question: Create an ifelse ( ) function that does the following: if employees' sales amount is greater than 3 0 0 0 0 the employees' receive

Create an ifelse() function that does the following: if employees' sales amount is greater than 30000 the employees' receive a desktop bonus
create an ifelse() function that does the following: if the component of a vector is an integer number, it is copied, other wise it is rounded.
create a vector that contains a sequence of integers from 1 to 7 then another vector that contains a sequence of ral numbers between 1 and 7, with a step of 1. Are these vectors identical? check and explain a= c(1:7) b = seq(1,7,1)
compute the correlation between the following two vectors: (7,9,25,53,17,32,5) and (51,56,72,74,66,61,13)

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 Programming Questions!