search for: hitpkg

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

Did you mean: hiting
2013 Apr 08
0
A categorized list of R functions
...le("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)) newhits = cbind(labels, hitpkg, hits) newhits =newhits[order(newhits[,3]),] # sort data frame on basis of one column cat(sprintf(fmt = &...