While pmap accepts anonymous functions in .f just like the other map*s, it doesn't allow users to make use of formulas (~).
I spent a while (probably too long) trying to glean this from ?map2, only to eventually find the answer here.
Please consider making this incompatibility explicit in the documentation - thanks!
While
pmapaccepts anonymous functions in.fjust like the othermap*s, it doesn't allow users to make use of formulas (~).I spent a while (probably too long) trying to glean this from
?map2, only to eventually find the answer here.Please consider making this incompatibility explicit in the documentation - thanks!