All functions

ahull()

Maximum area given x and y coordinates

AND() OR() nor() neither() NOR() NEITHER() pow() XOR()

Aliases

all_same_sign()

Determine whether a vector is all of the same sign

any_grepl()

Does the pattern appear anywhere?

auc()

AUC

average_bearing() average_bearing_n()

Average of bearings

coalesce()

Find first non-missing element

dev_copy2a4()

Copy device to an A4 PDF

dir2()

List many files

drop_col() drop_cols()

Drop column or columns

drop_colr()

Drop columns whose names match a pattern

drop_constant_cols()

Drop constant columns

drop_empty_cols()

Drop empty columns

duplicated_rows()

Return duplicated rows of data.table

`%ein%` `%enotin%`

Exists and (not) in

find_pattern_in()

Find string pattern in (text) file

generate_LaTeX_manual()

Generate LaTeX manual of installed package

`%notchin%`

Negation of in (character)

`%notin%`

Negation of in

`%pin%`

Partial in

haversine_distance()

Distance between two points on the Earth

hutils-package

hutils package

if_else()

Vectorized if

implies() `%implies%`

#' Logical implies

isAttached()

Is a package attached?

isTrueFalse()

Logical assertions

trim_common_affixes() longest_suffix() longest_prefix()

Longest common prefix/suffix

mean_na()

Proportion of values that are NA.

Mode()

Statistical mode

mutate_ntile()

Add a column of ntiles to a data table

mutate_other()

Group infrequent entries into 'Other category'

ngrep()

Anti-grep

provide.dir()

Provide directory

provide.file()

Provide a file

replace_pattern_in()

Replace string pattern in text file

report_error()

Report errors and warnings

RQ()

Shorthand for requireNamespace

samp()

Safer sampler

selector()

Fast selection of data.table columns

select_grep()

Select names matching a pattern

select_which()

Select columns satisfying a condition

set_cols_first() set_cols_last() set_colsuborder()

Put columns first or last

`%<->%`

Swap assignment

Switch()

Vectorized switch

has_unique_key() set_unique_key()

Unique keys

weight2rows()

Expand a weighted data frame to an equivalent unweighted

weighted_ntile()

Weighted (ranked) quantiles

weighted_quantile()

Weighted quantile