Inactive Tutor answered 06/06/19
Tutor
New to Wyzant
You can use the order command in R with the given conditions for z and b.
df[with(df, order(-col1, col2)), ] or
dd[with(dd, order(-z, b)), ]
Inactive Tutor answered 06/06/19
You can use the order command in R with the given conditions for z and b.
df[with(df, order(-col1, col2)), ] or
dd[with(dd, order(-z, b)), ]
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.