Mastering Development

R Group character strings based on numeric value and word

I have a dataset that contains Names as strings with year, order, and grouping name. Each Name has a value associated with the name. I need to reorder the ‘Names’ based on ascending year/order per grouping name and assign a value that is the average within the group. My issue is further complicated by some […]