Man pages for HughParsonage/hutils
Miscellaneous R Functions and Aliases

ahullMaximum area given x and y coordinates
all_same_signDetermine whether a vector is all of the same sign
any_greplDoes the pattern appear anywhere?
coalesceFind first non-missing element
dev_copy2a4Copy device to an A4 PDF
drop_colDrop column or columns
drop_colrDrop columns whose names match a pattern
drop_constant_colsDrop constant columns
drop_empty_colsDrop empty columns
duplicated_rowsReturn duplicated rows of data.table
einExists and (not) in
find_pattern_inFind string pattern in (text) file
generate_LaTeX_manualGenerate LaTeX manual of installed package
grapes-notchin-grapesNegation of in (character)
grapes-notin-grapesNegation of in
grapes-pin-grapesPartial in
haversine_distanceDistance between two points on the Earth
hutils-packagehutils package
if_elseVectorized if
implies#' Logical implies
isAttachedIs a package attached?
isTrueFalseLogical assertions
longest_affixLongest common prefix/suffix
mean_naProportion of values that are NA.
mutate_ntileAdd a column of ntiles to a data table
mutate_otherGroup infrequent entries into 'Other category'
provide.dirProvide directory
report_errorReport errors and warnings
RQShorthand for 'requireNamespace'
select_grepSelect names matching a pattern
selectorFast selection of 'data.table' columns
select_whichSelect columns satisfying a condition
set_cols_firstPut columns first or last
SwitchVectorized switch
unique-keysUnique keys
weight2rowsExpand a weighted data frame to an equivalent unweighted
weighted_ntileWeighted (ranked) quantiles
weighted_quantileWeighted quantile
HughParsonage/hutils documentation built on Nov. 11, 2018, 6:55 a.m.