calcAvgAcc calculates the average accuracy between predicted thermal sensation votes and actual obtained sensation votes
calcAvgAcc
calcAvgAcc(ref, pred)calcavgacc(ref, pred)AvgAcc(ref, pred)avgacc(ref, pred)
calcavgacc(ref, pred)
AvgAcc(ref, pred)
avgacc(ref, pred)
calcAvgAcc returns a single value presenting the average accuracy between actual and predicted thermal sensation votes.
a numeric item or vector containing categorical actual thermal sensation votes coded from -3 'cold' to +3 'hot'
a numeric item or vector containing categorical predicted thermal sensation votes coded from -3 'cold' to +3 'hot'
Marcel Schweiker. Further contribution by Shoaib Sarwar.
Sokolova and Lapalme (2009) <doi:10.1016/j.ipm.2009.03.002>
calcTPRTSV, calcMeanBias
calcTPRTSV
calcMeanBias
## Define data ref <- rnorm(5) # actual thermal sensation votes ref <- cutTSV(ref) pred <- rnorm(5) # predicted thermal sensation votes pred <- cutTSV(pred) calcAvgAcc(ref, pred)
Run the code above in your browser using DataLab