grapes-xt-grapes.Rd
This operator takes two variables and computes a simple cross tab.
lhs %xt% rhs
lhs | the left hand side of the operator, a vector |
---|---|
rhs | the right hand side of the operator, a vector |
b = c(1,0,0,1,1,0,1,1,1,0) x = c(1,2,3,2,3,3,1,0,0,0) y = rnorm(10) z = c("Yes", "No", "Yes", "No", "No", "Yes", "No", "No", "Yes", "No") factor(x) %xt% factor(b)#> Warning: `%xt%` is now deprecated. Please use tableX() or tableF() instead.#> Error in factor(x): object 'x' not found