Description Usage Arguments Details Value Note Author(s) See Also Examples
This function reshapes a data frame in 'long' format (repeated measurements in the same column) into a data frame in 'wide' format (repeated measurements in separate columns). It also correct a bug of reshape.
1 2 | longToWide(trajLong)
reshapeLongToWide(trajLong)
|
trajLong |
[ |
This function reshapes a data frame in 'long' format (repeated measurements in the same column) into a data frame in 'wide' format (repeated measurements in separate columns).
A data frame in 'wide' format (repeated measurements in separate columns).
longToWide
is just a 'friendly overlay' of the function
reshape
. It also corrects a reshape
bug
(modification of the order of some trajectories value when some times
are missing).
Christophe Genolini
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.