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]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.