@raj_265 wrote:
I have a data frame that looks like this:
Name Subject Marks
A Biology 55
B maths 70
A Physics 30I want to transform it into
Name Subject1 Subject2 Marks1 Marks2
A Biology Physics 55 30
B maths NA 70 NADcast function does not work as it has duplicate records. How to achieve this using R
Posts: 1
Participants: 1