At present, `twoway(x, ...)` relies on `x` being a matrix or data.frame with the row labels being `row.names(x)`. we should allow a `row.names =` arg, to use a column in a data.frame or tibble, and remove this from the data.