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)))) 
  
  }
ManonMartin/SOAP-NMR documentation built on Nov. 26, 2021, 8:46 p.m.