Answered You can hire a professional tutor to get the answer.

QUESTION

Use a nested `for` loop to a character vector called `clv` which is a "discretization" of the values in the `LifetimeValue` vector in the global

Use a nested `for` loop to a character vector called `clv` which is a "discretization" of the values in the `LifetimeValue` vector in the global environment (which records the lifetime values of 500 customers). Specifically, let the elements of `clv` be "Negative" (when the corresponding value of `LifetimeValue` is less than 0), "Typical" (when `LifetimeValue` is between 0-3500), or "Major" (when `LifetimeValue` is greater than 3500). 

So that we can check your work, *print to the screen a frequency table of `clv`.*

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question