R/utils.R

# Quick and dirty print variables for documentation ---------------------------
doc_vars <- function(df){
  n <- names(df)
  sapply(n, function(x) cat("#'   \\item{", as.symbol(x), "}{}", "\n", sep = ""))
}
geanes/bioanth documentation built on May 17, 2019, 12:15 a.m.