You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to dynamically specify the names of columns in the data frame for the between parameter to save a lot of duplicate code, but I could not figure out how to do this with .() lists. With character vectors, this can be easily done, however, they are not allowed.
Here is an example:
Instead of using a .() list
between=.(foobar,foobaz)
I would like to specify the between parameter using a dynamically created character vector
between=paste("foo", c("bar", "baz"), sep="")
Why do references to multiple columns have to be specified as a .() list, and character vectors are not allowed?
Thanks for your help!
Regards
Birk
The text was updated successfully, but these errors were encountered:
this issue was just raised yesterday by rcuriosity. As I have run into this a couple of weeks ago myself, I have posted a link to a temporary solution in the comments.
Hi Mike,
I would like to dynamically specify the names of columns in the data frame for the between parameter to save a lot of duplicate code, but I could not figure out how to do this with
.()
lists. With character vectors, this can be easily done, however, they are not allowed.Here is an example:
Instead of using a
.()
listI would like to specify the between parameter using a dynamically created character vector
Why do references to multiple columns have to be specified as a
.()
list, and character vectors are not allowed?Thanks for your help!
Regards
Birk
The text was updated successfully, but these errors were encountered: