I have performed a study looking at the knowledge of physicians on VAP (ventilator assc. pneumonia ). In this, a total of 16 questions were asked.

Attached are some of the variables (viz. the questions) collected. For the scoring, 2 marks would be given for the right answer and zero for the wrong one. One mark would be given for those who answered "I am not sure".

Can someone show me how do I write a command in R to score their marks based on their responses please?

Similar questions and discussions