Question: Regroup this variable into a binary profitable and not profitable in R programming using a 20% threshold for profitable and < 20% for not profitable.

Regroup this variable into a binary "profitable" and "not profitable" in R programming using a 20% threshold for profitable and < 20% for not profitable. Profits <- c(26000, 240000, 35400, 53760, 51200, 205000, 189000, 154200, 100560, 50240, 333500, 487200, 156900, 127200, 103200, 158500, 130800, 153000, 146640, 142240)

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