simple function that re-orders data to conform to yspec order and make ys_check() happy.
Took me a bit of googling (going through example project) to find the (simple) syntax. Quick helper function could be nice.
Basically this function:
ys_reorder <- function(data,spec)
{
input checks for valid data and spec objects as needed
simple function that re-orders data to conform to yspec order and make ys_check() happy. Took me a bit of googling (going through example project) to find the (simple) syntax. Quick helper function could be nice. Basically this function:
ys_reorder <- function(data,spec) {
input checks for valid data and spec objects as needed
}