Displaying 4 results from an estimated 4 matches for "deshape".
Did you mean:
reshape
2005 Aug 30
2
crosstab for n-way contingency tables
Dear list.
New to R, I'm looking for a way of using crosstab to output low-dimensional (higher than 2) contingency tables (frequencies, per-cents by rows, % by columns, mean, quantiles....) I'm looking for something of the following sort
dataframe: singers,
categorical variates: voice category (soprano,mezzo-soprano, ...) , voice type( drammatic, spinto, lirico-spinto, lirico,
2005 Sep 22
1
Reshape package: new version 0.5
...s very much pivot table inspired, and it (hopefully) makes
it very easy to view your data the way you want. You can find out
more at http://had.co.nz/reshape
The big news in this version of reshape is that I've renamed all the
functions so they no longer conflict with any built in functions -
deshape is now melt (think liquid data) and reshape is now cast (think
solidifying data into the form you want).
What else is new?
* recast melts and casts your data in one step
* column naming bugs fixed
* easily display all margins with the argument margins=T in cast
Please let me know what you thi...
2005 Sep 22
1
Reshape package: new version 0.5
...s very much pivot table inspired, and it (hopefully) makes
it very easy to view your data the way you want. You can find out
more at http://had.co.nz/reshape
The big news in this version of reshape is that I've renamed all the
functions so they no longer conflict with any built in functions -
deshape is now melt (think liquid data) and reshape is now cast (think
solidifying data into the form you want).
What else is new?
* recast melts and casts your data in one step
* column naming bugs fixed
* easily display all margins with the argument margins=T in cast
Please let me know what you thi...
2005 Sep 20
2
Transform variable number of rows per subject to column variables?
Hello,
I am very new to R, but I am having trouble with my dataset.
I have a data frame where a subject has a variable number of multiple
observations for each row, which I wish the transform these
observations to column variables.
An example of the data frame
ID TEST.A TEST.B
1 10 1
1 13 2
1 11 1
2 15 2
2 17 3
And I wish to transform it to the following:
ID TEST.A1 TEST.A2 TEST.A3 TEST.B1