R/reorder.R

Defines functions reorder.lvm

## Todo
reorder.lvm <- function(x,vars,...) {
  if (!setequal(vars,vars(x))) stop("Supply vector of all variables")
  m <- x
  addvar(m,reindex=FALSE,) <- vars  
}

Try the lava package in your browser

Any scripts or data that you put into this service are public.

lava documentation built on May 2, 2019, 4:49 p.m.