Novice user. I have 3 types of responses based on the device and treatment. If only two responses from the treatment with the particular device was recorded of the three, how do I get R to exclude the response?
For instance:
Responses are NF, AA, AD
only NF and AD were a response, AA was not. Out of 20 replicates, 2 of AA did not occur.
mosaicplot(Flight_Activation)
chisq.test(Flight_Activation,correct=FALSE)
Error in chisq.test(Flight_Activation, correct = FALSE) : invalid 'x'
chisq.test(flight$Response)
Error in if (any(x < 0) || anyNA(x)) stop("all entries of 'x' must be nonnegative and finite") :
missing value where TRUE/FALSE needed
In addition: Warning message:
In Ops.factor(x, 0) : ‘<’ not meaningful for factors