Quantcast
Channel: Data Science, Analytics and Big Data discussions - Topics tagged data_science
Viewing all articles
Browse latest Browse all 787

Reshaping Data in R

$
0
0

@deepak0singh wrote:

I have a data in following Format on R

ID Product
A p1
B p1
B p2
C p1
C p2
C p3

and i want to output to shown like

ID
A p1
B p1 p2
C p1 p2 p3

HOw can i do that in R ?
or can we do that using Reshape package in R?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 787

Trending Articles