BCBG interview question

Can you demonstrate using R?