R/list.bind.R

Defines functions list.bind

list.bind <- function(list, df, colname)
{
  print("Converting List To Dataframe")
  listframe <- data.frame(sapply(list, rbind)) #list to df
  colnames(listframe)[1] <- colname #give new df's 1st col a name
  df <- cbind(df,listframe) #bind the old df to the new df
  print("Finished")
}
mikew93/ClassPackages documentation built on Dec. 8, 2019, 7:55 p.m.