Learn R Programming

abjutils (version 0.2.1)

dvec: Vectorize functions (DEPRECATED)

Description

Iterate a function and wrap a dplyr::failwith() around it.

Usage

dvec(fun, itens, ..., verbose = TRUE, p = 0.05)

Arguments

fun

Function to be iterated

itens

Character vector of inputs

...

Other parameters for fun

verbose

Should dvec print the current item (if TRUE, shows a message with probability p)?

p

Probability of printing a message