Learn R Programming

⚠️There's a newer version (0.10.10) of this package.Take me there.

hutilscpp

Under development

Copy Link

Version

Install

install.packages('hutilscpp')

Monthly Downloads

538

Version

0.3.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Hugh Parsonage

Last Published

October 16th, 2019

Functions in hutilscpp (0.3.0)

poleInaccessibility

Find a binary pole of inaccessibility
hutilscpp-package

hutilscpp: Miscellaneous Functions in C++
is_constant

Is a vector constant?
which3

which of three vectors are the elements (all, any) true?
bench_system_time

Evaluate time of computation
which_first

Where does a logical expression first return TRUE?
pminC

Parallel minimum
pmaxC

Parallel maximum/minimum
xor2

Exclusive or
which_true_onwards

At which point are all values true onwards
range_rcpp

Range C++
squish

Squish into a range
sum_isna

Number of missing values
logical3

Vectorized logical with support for short-circuits
match_nrst_haversine

Match coordinates to nearest coordinates
do_pmaxV

Parallel maximum in C++
as_integer_if_safe

Coerce from double to integer if safe
do_pminC

Parallel maximum
do_pminV

Parallel maximum
helper

Helper
cumsum_reset

Cumulative sum unless reset
do_pmaxC

Internal pmaxC helpers
anyOutside

Are any values outside the interval specified?
are_even

Are even