You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, posure() acts on a function declaration whose expression qua body must be a %>>>% chain. The problem is that a function declaration is not a type.
A safer and more general alternative would therefore be to make posure() a functional operator, and rename it, say as vary(). Thus, something like this
Currently,
posure()
acts on a function declaration whose expression qua body must be a%>>>%
chain. The problem is that a function declaration is not a type.A safer and more general alternative would therefore be to make
posure()
a functional operator, and rename it, say asvary()
. Thus, something like thisought to yield the (pre-computed) composition parameterized by
n
, that is, a function with signature(or more explicitly,
function(x, size, replace = FALSE, prob = NULL, n = 5)
, since...
is fed to the first function,sample()
).The text was updated successfully, but these errors were encountered: