The following codes work when the return value is a scalar.
But I like to get the whole vector instead of one element of the vector x
using map as a data frame instead getting one element of the vector using
In other words, I would like a data frame with one row for each iteration.
I would appreciate your help.
df%>% map(~markov(v,v =.))