We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The help file for pmap says
pmap
The output names are determined by the input names.
but the names of BOD are c("Time", "demand") and the output has no names. There were some SO posts guessing that it means the names of the first column of the input (https://stackoverflow.com/questions/78310377/name-output-of-pmap-on-tibble/78310769#78310769) or the first column with names in the input (https://stackoverflow.com/questions/78314849/naming-of-elements-in-purrrmap). Please clarify.
c("Time", "demand")
str(pmap(BOD, ~ .x + .y)) ## List of 6 ## $ : num 9.3 ## $ : num 12.3 ## $ : num 22 ## $ : num 20 ## $ : num 20.6 ## $ : num 26.8
The text was updated successfully, but these errors were encountered:
Looking at the source code, yes, the names come from names of the first element.
Sorry, something went wrong.
Correct documentation for pmap
5fd340c
Fixes tidyverse#1124
06f5098
Successfully merging a pull request may close this issue.
The help file for
pmap
saysbut the names of BOD are
c("Time", "demand")
and the output has no names. There were some SO posts guessing that it means the names of the first column of the input (https://stackoverflow.com/questions/78310377/name-output-of-pmap-on-tibble/78310769#78310769) or the first column with names in the input (https://stackoverflow.com/questions/78314849/naming-of-elements-in-purrrmap). Please clarify.The text was updated successfully, but these errors were encountered: