Kirill's Miscellaneous Functions


[Up] [Top]

Documentation for package ‘kimisc’ version 0.3

Help Pages

kimisc-package Kirill's Miscellaneous Functions
coalesce.na Replaces NA values
cut_format Convert Numeric to Factor, with custom formatting
df_to_list Converts a name-value data frame to a named list
export Exports to an environment
export.list Exports to an environment
gdiff Generalized lagged differences
hms.to.seconds Converts a time value given in H:M:S format to the number of seconds since midnight
in.interval.lo Checks if values are contained in an interval (open on the left)
in.interval.ro Checks if values are contained in an interval (open on the right)
kimisc Kirill's Miscellaneous Functions
list_to_df Converts a list to a name-value data frame
nc Smart named vector
nin.interval.lo Checks if values are outside of an interval (open on the left)
nin.interval.ro Checks if values are outside of an interval (open on the right)
nlist Smart named list
ofactor Order-preserving factors
sample.rows Random Samples and Permutations for Data Frames
seconds.to.hms Converts a time value given as number of seconds since midnight to the H:M:S format
setMissingNames Set the Missing Names in an Object
thisfile Determines the path of the currently running script
thisfile_knit Determines the path of the currently running script
thisfile_rscript Determines the path of the currently running script
thisfile_source Determines the path of the currently running script
tll Transposes a list of lists
vswitch Vectorized switch