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

C working oddly when given a vector #3

Open
JarkoDubbeldam opened this issue Jul 20, 2017 · 1 comment
Open

C working oddly when given a vector #3

JarkoDubbeldam opened this issue Jul 20, 2017 · 1 comment

Comments

@JarkoDubbeldam
Copy link
Owner

C(c(1,3,9)) returns 1. That's because of ifelse. If I were to replace that with a proper if statement, it would return c(1,3,9).

Would that be correct, or would we rather get 139?

@JarkoDubbeldam
Copy link
Owner Author

#5

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