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
When reading in a rule with %in% it sometimes changes the %in% into %vin%. It has worked for a while but suddenly this error is arising.
Example library(dcmodify)
dat <- data.frame(A = c(1,2,3), B = c(3,3,3), C = c(NA,NA,NA))
rules <- data.frame(rule = "if(A %in% c(2,4,50))C = 4")
r <- modifier(.data = rules)
print(r$assignments()) $M1 C = 4 attr(,"guard") A %vin% c(2, 4, 50)
The text was updated successfully, but these errors were encountered:
The %in% operator is replaced with %vin% for more consistent handling of NA's.
%in%
%vin%
Perhaps I misunderstand you but you seem to report an error, but I don't see an error message?
Sorry, something went wrong.
No branches or pull requests
When reading in a rule with %in% it sometimes changes the %in% into %vin%.
It has worked for a while but suddenly this error is arising.
Example
library(dcmodify)
dat <- data.frame(A = c(1,2,3),
B = c(3,3,3),
C = c(NA,NA,NA))
rules <- data.frame(rule = "if(A %in% c(2,4,50))C = 4")
r <- modifier(.data = rules)
print(r$assignments())
$M1
C = 4
attr(,"guard")
A %vin% c(2, 4, 50)
The text was updated successfully, but these errors were encountered: