[R] Create a Pivot

jim holtman jholtman at gmail.com
Wed Jul 25 04:09:31 CEST 2012

Define what you mean by a pivot.  I know what a pivot table in Excel
is and you can easily create the equivalent one in R, but you have
supplied no data and have not indicated what you want as output in the
"cells" of the pivot table -- e.g., counts, sums percentages, etc.
You need to show some data and then what you would expect as output.

On Tue, Jul 24, 2012 at 1:52 PM, namit <saileshchowdary at gmail.com> wrote:
> Hi Friends,
> i'm new to R....I have data frame  having columns  X Y Z....I want to do
> pivot on this data frame....can any one help me on this...
> Thanks,
> Namit
> --
> View this message in context: http://r.789695.n4.nabble.com/Create-a-Pivot-tp4637629.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.

More information about the R-help mailing list