Question: i need help by using R programing language to do this question. Thank you Consider a company Bamazon. They want to launch a new drone
i need help by using R programing language to do this question. Thank you
Consider a company Bamazon. They want to launch a new drone delivery service, that has rates based on how far you are from the warehouse. There is a special lower rate for their "Brime" members. The table below has their current pricing plan: 1. Write a function drone_cost that takes two arguments: the distance of the delivery and whether or not the customer is a Brime member. The function should return the price of the delivery. 2. Test the function for a Brime member that needs a delivery 14 miles from the warehouse, and 4 different non-Brime members that are 5,15,35, and 60 miles from the warehouse
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
