I should choose and use right statistical testing between the variable “linolenic being greater than 0.33” and the variable “region being equal to Sardinia”. These are two binary variables, so I'm trying to use fisher.test, but how these could be changed into logical variables for table?
library(dslabs)
dt <- as.data.table(olive)