Kmisc is a package chock full of miscellaneous functions that intend to make the R programming process easier. The functions range from:
reshape2::melt
for data.frame
s and matrix
's,awk
,extract_rows_from_file
pulls specific rows from a (potentially large)
tabular data file, where we only take rows for which a particular column
entry matches a list of desired elements,split_file
splits a file on a particular column into separate, smaller
files, so that these smaller files are more amenable to parallel processing,counts
is a faster
version of table
for single vectors; tapply_
is a faster tapply
for the
common case of splitting an atomic vector by another atomic vector,
factor_
is a faster factor
...Install me in R with devtools::install_github()
with the following call:
devtools::install_github("kevinushey/Kmisc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.