Miscellaneous functions intended to improve the R coding experience


[Up] [Top]

Documentation for package ‘Kmisc’ version 0.3.0

Help Pages

Kmisc-package Kmisc
%nin% Inverse Value Matching
.html HTML Tags
anat Display the Anatomy of a Data Frame
anatomy Display the Anatomy of a Data Frame
bwplot2 Custom Lattice Boxplot
cat.cb Write Data to the Clipboard
cd Set Working Directory
char_to_factor Converts Characters to Factors in an Object
clean_doc Clean Documentation in Current Package
dapply Apply a Function over a List
extract Extract Elements from a Named Object
extract.re Extract Elements from a Named Object with Regular Expressions
extract_rows.re Extract Rows from a Data Frame / Matrix Based on Regex Matching
factor_to_char Converts Factors to Characters in an Object
getObjects Get all Objects in Environment
gradient Generate Gradient from Continuous Variable
grid.text2 Grid Text with a Background
hImg Print Plot to File and Return HTML
hSvg Print SVG to File and Return HTML
html Print HTML Elements
HTML_env HTML Tags
in_interval Determine if Value Lies within Interval
is.sorted Test if an Object is Sorted
kAnova Nicely Formatted ANOVA Table
kCoef Nicely Formatted Model Coefficient Output
kFivenum Fivenum with Names
kImg HTML - Source an Image
kLoad Load and Assign an R Object
kmeans_plot k-means Diagnostic Plot
kMerge Merge (Left Join) with Index Retainment
Kmisc Kmisc
kSave Write out and Save a Tabular File
kSvg HTML - Source an SVG file
kTable Make Nicely Formatted Tables
lg length( grep( ... ) )
lu Number of non-NA unique elements in a vector
makeHTMLTable Make HTML Table from R 'table-like' Object
makeHTMLTag Make HTML Elements
make_dummy Make Dummy Variables from a Factor
ngrep Inverse grep
p1t Make 1D HTML Table
par.reset Restore the 'par' settings
pMerge Merge a Data Frame 'into' Another
print.kHTML Print kHTML Objects
pxt Make 2x2 HTML Contingency Table
rcpp_apply_generator Rcpp apply Generator
Rcpp_gen_makevars Reproduce Rcpp Makevars Files
re.exists Check whether Regular Expression was Found
read.cb Read Tabular Data from the Clipboard
scan.cb Read Data from the Clipboard
stack_list Stack a List of DataFrame-like Objects
strip_extension Strip File Extension
str_rev Reverse a Vector of Strings
str_rev2 Reverse a Vector of Strings (UTF-8)
str_slice Slice a Vector at Consecutive Indices
str_slice2 Slice a Vector at Consecutive Indices
str_sort Sort a Vector of Strings
str_split Split a Vector of Strings Following a Regular Structure
swap Swap Elements in a Vector
u Unique elements in a vector
update_date Update Date in DESCRIPTION File
us unlist( strsplit( ... ) )
without Remove Elements from a Named Object
without.re Remove Elements from a Named Object with Regular Expressions
without_rows.re Exclude Rows from a Data Frame / Matrix Based on Regex Matching
write.cb Write Tabular Data to the Clipboard