Skip to content

use mutate to create a column from a variable #8562

Answered by cpcloud
lei0zhou asked this question in Q&A
Discussion options

You must be logged in to vote

mutate(**{test: lit(1)})

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lostmygithubaccount
Comment options

Answer selected by lostmygithubaccount
Comment options

You must be logged in to vote
1 reply
@cpcloud
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants