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
across2()
mutate()
See the following example:
dat <- withr::with_seed( 1, data.frame( id = 1:5, x1 = rnorm(5), x2 = rnorm(5) ) ) dat |> dplyr::mutate( dplyover::across2( x1:x2, x1:x2, cor ), .keep = "unused" ) #> x1_x1 x2_x2 #> 1 1 1 #> 2 1 1 #> 3 1 1 #> 4 1 1 #> 5 1 1
Created on 2023-12-10 with reprex v2.0.2
When specifying .keep = "unused", it is expected that id column is kept.
.keep = "unused"
id
The text was updated successfully, but these errors were encountered:
Duplicate of #1
Sorry, something went wrong.
No branches or pull requests
See the following example:
Created on 2023-12-10 with reprex v2.0.2
When specifying
.keep = "unused"
, it is expected thatid
column is kept.The text was updated successfully, but these errors were encountered: