powered by
calcTPRTSV calculates the true positive rate between predicted thermal sensation votes and actual obtained sensation votes
calcTPRTSV
calcTPRTSV(ref, pred)
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'
calcTPRTSV returns a single value presenting the true positive rate between actual and predicted thermal sensation votes.
Schweiker, M. and Wagner, A. A framework for an adaptive thermal heat balance model (ATHB) Building and Environment, 2015, 94, 252-262
see also calcMeanBias, calcAvgAcc
calcMeanBias
calcAvgAcc
# NOT RUN { ## 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