powered by
calcTPRTSV calculates the true positive rate between predicted thermal sensation votes and actual obtained sensation votes
calcTPRTSV
calcTPRTSV(ref, pred)
calcTPRTSV returns a single value presenting the true positive rate 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
Schweiker & Wagner (2015) <doi:10.1016/j.buildenv.2015.08.018>
see also calcMeanBias, calcAvgAcc
calcMeanBias
calcAvgAcc
## Define data ref <- rnorm(5) # actual thermal sensation votes ref <- cutTSV(ref) pred <- rnorm(5) # predicted thermal sensation votes pred <- cutTSV(pred) calcTPRTSV(ref, pred)
Run the code above in your browser using DataLab