生徒の反応を評価するコードが1行ありますが、それは見つけられません。ここには3つの質問と2人の学生の例があります。私はそれをこのようにしてください事前学生の試験成績
#the correct answers
key = t(c(1,2,3))
#the student responses
responses = t(data.frame(c(1,2,3),c(1,3,3)))
colnames(responses) =c('v1','v2','v3')
rownames(responses) = c('student1', 'student2')
#the desired graded matrix
graded = t(data.frame(c(T,T,T),c(T,F,T)))
dimnames(graded) = dimnames(responses)
graded
あなたはCSを教える場合、 https://area51.stackexchange.com/proposals/92460/computer-science-educatorsを入力するのが最も簡単なのですが、まだプライベートベータ版ですので、https://cseducators.stackexchange.com/に興味があります) –