R/vec2mat.R

Defines functions vec2mat

Documented in vec2mat

# vector -> matrix
vec2mat <- function(vec) {
  
  return(matrix(vec, nrow = 1, dimnames = list(c(1), names(vec)))) 
  
  }
yclement/PepsNMR documentation built on April 10, 2020, 12:07 a.m.