I got the below piece of code and it keeps on printing the frequency tables. How do I stop it from doing this.
pl = read.csv("c:/pl.csv")
freqs = function(name){ assign(name, table(pl[,name],pl$bad_outcome), envir = .GlobalEnv);}
lapply(names(pl), freqs);