Man pages for ChristK/CKutils
Some Utility Functions I Use Regularly

absorb_dtAbsorb Columns from One data.table into Another
agegrp_nameGenerate names for age-group bands
CKutilsCKutils: A package with utility functions I use regularly.
clampClamp values to a specified range
clone_dtClone a data.table
count_ifCount TRUE Values in a Logical Vector
countsGenerate Counts of Values in a Vector
crossval_gamlssDeterministic prediction from a gamlss object
csv_to_fstConvert CSV Files to FST Format
del_dt_rowsDelete specified rows from a data.table
dependenciesSimplified loading and installing of packages
detach_packageDetach a Loaded Package
do_cols_dtPerform operations on selected columns in a data.table
estim_beta_params'estim_beta_params' estimates the beta parameters from a mean...
fclampClamp a Numeric Vector Within a Range
fclamp_intClamp an Integer Vector Within a Range
fct_to_int_cppConvert Factor to Integer (C++ Version)
fequalCheck Numeric Vector Equality Within Tolerance
fnormaliseNormalize a Numeric Vector to the 0-1 Range
fquantileCompute Quantiles Using Default R Type 7 Method
fquantile_byidCompute Quantiles by Group
get_dropbox_pathGet Dropbox path
get_pcloud_pathGet pCloud path
gnrt_folder_structureGenerate folder structure
guess_gamlssPrediction from a gamlss object in parallel
guess_polrPredict ordinal outcomes from a polr model
identical_elementsCheck if All Elements in a Numeric Vector Are Identical
installLocalPackageInstall or Reinstall a Local R Package
installLocalPackageIfChangedInstall Local Package If Changed
is_valid_lookup_tblCheck Validity of Lookup Table
lin_interpolationPerform Linear Interpolation
lookup_dtPerform Table Lookup and Merge
match_colnames_patternObtain matching names corresponding to patterns
normaliseNormalize a Vector to the 0-1 Range
outersect'outersect' Calculates the symmetrical set difference of...
pctl_rankCalculate percentile rank
prop_ifProportion of TRUE Values in a Logical Vector
reldist_diagnosticsCompare two distributions
replace_from_tableReplace multiple values in a data.table column
resample'resample' Gives sample of from the elements of ”x” of the...
set_lookup_tbl_keySet Lookup Table Key
to_agegrpGenerate age-group from age
validate_gamlssStochastic prediction from a gamlss object
ChristK/CKutils documentation built on April 11, 2025, 10:11 p.m.