[R] Reorganize the data (dplyr or other packages?)
John
m|@ojpm @end|ng |rom gm@||@com
Mon Aug 17 09:41:06 CEST 2020
Is there any quick way (dplyr?) to arrange the data
date down uc up
2019M08 0.01709827 0.2653882 0.7175136
2019M09 0.02094724 0.2265797 0.7524731
2019M10 0.01750911 0.2450030 0.7374879
to
date direction percentage
2019M08 down 0.01709827
2019M09 down 0.02094724
2019M10 down 0.01750911
2019M08 uc 0.2653882
2019M09 uc 0.2265797
2019M10 uc 0.2450030
2019M08 up 0.7175136
2019M09 up 0.7524731
2019M10 up 0.7374879
[[alternative HTML version deleted]]
More information about the R-help
mailing list