search for: tpackag

Displaying 1 result from an estimated 1 matches for "tpackag".

Did you mean: packag
2013 Apr 08
0
A categorized list of R functions
...ot;, "names") patterns = sort(patterns) # optional k = length(patterns) # open output file options(verbose=FALSE) zz <- file("all functions.txt", open="wt") sink(zz, type="output") # print the output to the file cat("\n\n ") cat("pattern\tpackage\tfunction\r") for (i in 1:k) { cat("\n ") hits = allfuncs[grep(patterns[i], allfuncs[,2], ignore.case=TRUE),2] hitpkg = allfuncs[grep(patterns[i], allfuncs[,2], ignore.case=TRUE),1] hitpkg = gsub("\\d", "", hitpkg) labels = rep(patterns[i],length(hits)) new...