Hi.
Missing pieces, such a d.o
and xxx
make this hard for me to follow. Could you post a reproducible example, called a reprex. No need for all 130 rows, just enough to throw the error.
I wonder about map()
. Is this from purrr
? If so, transformed
must be a vector, and the second argument must be a function or a formula coerced to a function with the ~
operator.