Skip to content
New issue

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

using strsplit to take variables is not ideal #198

Open
clarkliming opened this issue Nov 13, 2024 · 0 comments
Open

using strsplit to take variables is not ideal #198

clarkliming opened this issue Nov 13, 2024 · 0 comments

Comments

@clarkliming
Copy link

unique(unlist(strsplit(covariates, split = "\\*|:")))

ideally we can build the formula first, and then extract the variables through all.vars. This ensures that sometimes we have space in interaction we don't have errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant