EY Interview Question

Explain about how do you use R language for specific case