calcTPRTSV | R Documentation |
calcTPRTSV
calculates the true positive rate between
predicted thermal sensation votes and actual obtained sensation votes
calcTPRTSV(ref, pred)
ref |
a numeric item or vector containing categorical actual thermal sensation votes coded from -3 'cold' to +3 'hot' |
pred |
a numeric item or vector containing categorical predicted thermal sensation votes coded from -3 'cold' to +3 'hot' |
calcTPRTSV
returns a single value presenting the true positive
rate between actual and predicted thermal sensation votes.
Marcel Schweiker
Schweiker & Wagner (2015) <doi:10.1016/j.buildenv.2015.08.018>
see also 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.