R/make_data_frame.R

Defines functions make_data_frame

Documented in make_data_frame

#' Create a data.frame with defined variable names
#'
#' @param variables a vector of veriable names
#'
#' @export

make_data_frame <- function(variables){
  asm_template <- matrix(ncol = length(variables))
  colnames(asm_template) <- variables
  return(as.data.frame(asm_template)[FALSE,])
}
AsexGenomeEvol/AsexStats documentation built on Oct. 23, 2020, 4:42 a.m.