Rdocumentation
powered by
Learn R Programming
Kmisc (version 0.5.0)
Kevin Miscellaneous
Description
This package contains a collection of functions for common data extraction and reshaping operations, string manipulation, and functions for table and plot generation for R Markdown documents.
Copy Link
Link to current version
Version
Version
0.5.0
0.4.0-1
0.3.0
0.2.0
0.1.0
Install
install.packages('Kmisc')
Monthly Downloads
123
Version
0.5.0
License
GPL (>= 2)
Issues
5
Pull Requests
0
Stars
42
Forks
14
Repository
https://github.com/kevinushey/Kmisc
Maintainer
Kevin Ushey
Last Published
December 13th, 2013
Functions in Kmisc (0.5.0)
Search all functions
cd
Set Working Directory
Kmisc
Kmisc
stack_list
Stack a List of DataFrame-like Objects
transpose
Tranpose an Object
value_matching
Value Matching
bwplot2
Custom Lattice Boxplot
extract
Extract Elements from a Named Object
getObjects
Get all Objects in Environment
awk
A Simple Front-end to Awk
gradient
Generate Gradient from Continuous Variable
rowApply
Apply Wrappers
remove_na
Remove NA Entries from a Vector
read
Read a File
awk.set
Set awk
kSave
Write out and Save a Tabular File
us
unlist( strsplit( ... ) )
char_to_factor
Converts Characters to Factors in an Object
dapply
Apply a Function over a List
attachHTML
Attach Common, Non-Masking HTML Functions
str_split
Split a Vector of Strings Following a Regular Structure
simp
Area Under the Curve with Simpson's Rule
str_rev2
Reverse a Vector of Strings (UTF-8)
hSvg
Print SVG to File and Return HTML
makeHTMLTag
Make HTML Elements
remove_chars
Remove Alphabetic Characters from a Character Vector
rcpp_apply_generator
Rcpp Apply Generator
pad
Pad an Object with NAs
sys
Invoke a System Command
swap
Swap Elements in a Vector
str_rev
Reverse a Vector of Strings
str_slice2
Slice a Vector at Consecutive Indices
read.cb
Read Tabular Data from the Clipboard
in_interval
Determine if Value Lies within Interval
melt_
Make a 'Wide' data set 'Long'
scan.cb
Read Data from the Clipboard
is.sorted
Test if an Object is Sorted
swap_
Swap Elements in a Vector
lg
length( grep( ... ) )
tree
Print a Tree Representation of an Object of Nested Lists
str_sort
Sort a Vector of Strings
update_date
Update Date in DESCRIPTION File
pymat
Python-style Formatting of Strings.
Kmisc.knit2html
Knit an Rmd File to HTML with Kmisc Styling
p1t
Make 1D HTML Table
size
Print the Object Size, with Auto Units
unmelt_
Unmelt a Melted Data Frame
str_slice
Slice a Vector at Consecutive Indices
factor_to_char
Converts Factors to Characters in an Object
mat2df
Convert a Matrix to a DataFrame
ngrep
Pattern matching and Replacement
kLoad
Load and Assign an R Object
pxt
Make 2x2 HTML Contingency Table
counts
Generate Counts of Values in a Vector
lu
Number of non-NA unique elements in a vector
kCoef
Nicely Formatted Model Coefficient Output
write.cb
Write Tabular Data to the Clipboard
par.reset
Restore the 'par' settings
kAnova
Nicely Formatted ANOVA Table
wrap
Wrap a String
print.kHTML
Print kHTML Objects
make_dummy
Make Dummy Variables from a Factor
kmeans_plot
k-means Diagnostic Plot
remove_digits
Remove Digits from a Character Vector
pMerge
Merge a Data Frame 'into' Another
Rcpp_gen_makevars
Reproduce Rcpp Makevars Files
chunk
Generate a Sequence of Integers, and Split into Chunks
clean_doc
Clean Documentation in Current Package
html
Print HTML Elements
detachHTML
Detach Common, Non-Masking HTML Functions
grid.text2
Grid Text with a Background
list2df
Convert list to data.frame
without
Remove Elements from a Named Object
any_na
Check whether there are any Missing Values in a Vector
prepare_package
Prepare Package
hImg
Print Plot to File and Return HTML
u
Unique elements in a vector
kImg
HTML - Source an Image
kFivenum
Fivenum with Names
matches
Count Matches
makeHTMLTable
Make HTML Table from R 'table-like' Object
tapply_
Faster tapply
cat.cb
Write Data to the Clipboard
htmlTable
Generate an HTML Table
labeller
ggplot2 labeller
extract_rows_from_file
Extract Rows from File
kTable
Make Nicely Formatted Tables
pp_plot
Construct a Probability-Probability Plot from a Set of P-Values
split_file
Split a File by Unique Entries in a Column
anat
Display the Anatomy of a Data Frame
duplicate
Force a Copy of an R Object
factor_
Fast Factor Generation
strip_extension
Strip File Extension
kMerge
Merge (Left Join) with Order Retainment
kSvg
HTML - Source an SVG file
manhattan_plot
Make a Manhattan Plot
rcpp_tapply_generator
Rcpp tapply Generator
split_runs
Split by Runs
str_collapse
Collapse a String