search for: failtyp

Displaying 1 result from an estimated 1 matches for "failtyp".

Did you mean: failty
2005 Nov 12
1
computation on a table
...ering questions. I want to know how many PERCENT of the answers are wrong, caused by reason A or B. This gives me the subset of false answers. The table looks like table (1): fail <- subset(questions, type=="wrong") fail$qid <- factor(fail$qid) failtab <- table(fail$failtype, fail$qid) The following gives me information about how often a specific question was asked. This is similar to table (2) above. count <- table(questions$failtype, questions$qid) count <- colSums(count) One solution would be to delete the line that calls factor(...) on the subset...