kimisc: Kirill's Miscellaneous Functions
Version 0.3

A collection of useful functions not found anywhere else, mainly for programming: Pretty intervals, generalized lagged differences, checking containment in an interval, creating a factor where the levels maintain the order of appearance, sampling rows from a data frame, converting seconds from midnight to and from H:M:S format, choosing the first non-NA value, transposing lists of lists, returning the name of the file currently sourced, smart named lists and vectors, and an alternative interface to assign().

Browse man pages Browse package API and functions Browse package files

AuthorKirill Müller [aut, cre]
Date of publication2016-02-14 17:30:21
MaintainerKirill Müller <krlmlr+r@mailbox.org>
LicenseGPL-3
Version0.3
URL http://krlmlr.github.io/kimisc
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("kimisc")

Man pages

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...
in.interval.lo: Checks if values are contained in an interval (open on the...
in.interval.ro: Checks if values are contained in an interval (open on the...
kimisc-package: 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...
nin.interval.ro: Checks if values are outside of an interval (open on the...
nlist: Smart named list
ofactor: Order-preserving factors
sample-methos: Random Samples and Permutations for Data Frames
seconds.to.hms: Converts a time value given as number of seconds since...
setMissingNames: Set the Missing Names in an Object
thisfile: Determines the path of the currently running script
tll: Transposes a list of lists
vswitch: Vectorized switch

Functions

coalesce.na Man page Source code
cut_format Man page Source code
df_to_list Man page Source code
export Man page Source code
export.list Man page Source code
gdiff Man page Source code
hms.to.seconds Man page Source code
in.interval.lo Man page Source code
in.interval.ro Man page Source code
kimisc Man page
kimisc-package Man page
list_to_df Man page Source code
nc Man page Source code
nin.interval.lo Man page Source code
nin.interval.ro Man page Source code
nlist Man page Source code
nworker Source code
ofactor Man page Source code
sample.rows Man page Source code
seconds.to.hms Man page Source code
setMissingNames Man page Source code
thisfile Man page Source code
thisfile_knit Man page Source code
thisfile_rscript Man page Source code
thisfile_source Man page Source code
tll Man page Source code
vswitch Man page Source code
vswitch.character Source code
vswitch.default Source code

Files

inst
inst/staticdocs
inst/staticdocs/index.R
tests
tests/testthat
tests/testthat/test-vswitch.R
tests/testthat/scripts
tests/testthat/scripts/thisfile-cat.R
tests/testthat/scripts/thisfile.R
tests/testthat/test-cut.R
tests/testthat/test-gdiff.R
tests/testthat/test-kimisc.R
tests/testthat/test-list_to_df.R
tests/testthat/test-thisfile.R
tests/test-all.R
NAMESPACE
NEWS.md
R
R/gdiff.R
R/nlist.R
R/ofactor.R
R/cut.R
R/seconds_to_hms.R
R/coalesce_na.R
R/thisfile.R
R/in_interval.R
R/kimisc-package.R
R/export.R
R/list_to_df.R
R/tll.R
R/sample_data_frame.R
R/vswitch.R
R/hms_to_seconds.R
MD5
DESCRIPTION
man
man/setMissingNames.Rd
man/df_to_list.Rd
man/export.list.Rd
man/nin.interval.ro.Rd
man/sample-methos.Rd
man/list_to_df.Rd
man/vswitch.Rd
man/seconds.to.hms.Rd
man/nin.interval.lo.Rd
man/kimisc-package.Rd
man/export.Rd
man/in.interval.lo.Rd
man/thisfile.Rd
man/nlist.Rd
man/hms.to.seconds.Rd
man/nc.Rd
man/in.interval.ro.Rd
man/gdiff.Rd
man/cut_format.Rd
man/ofactor.Rd
man/tll.Rd
man/coalesce.na.Rd
kimisc documentation built on May 29, 2017, 11:33 p.m.