Hello, this is my first post here. Thank you in advance for your help So I have this datset where id_client is the identifier for my clients, n_try is the numer of times i've tryed to contact them for a purchase proposal anche outcome is Y for "accepted", N is "did not accept" and O is for "did not answered the phone" id_client n_try outcome 21 1 O 21 2 N 53 1 O 53 2 O 53 3 Y 17 1 Y 17 2 Y 17 3 N 17 4 O I want to obtain the outcome id_client n_try outcome pattern 21 1 O O 21 2 N ON 53 1 O O 53 2 O OO 53 3 Y OOY 17 1 Y Y 17 2 Y YY 17 3 N YYN 17 4 O YYNO Can you help me? Thank you!!
... View more