Displaying 1 result from an estimated 1 matches for "xlogx".
Did you mean:
xlog
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
..."n" total
--------------------------------
y hit miss nsignal
--------------------------------
n false correct nnoise
alarm rejection
---------------------------------
Gsens<-function(nhit,nmiss,nfa,ncr)
{
# Edwards's G_I, measure of interaction, is measure of sensitivity
(xlogx(nhit)+xlogx(nmiss)+xlogx(nfa)+xlogx(ncr))-(xlogx(nhit+nmiss)+xlogx(nfa+ncr))-(xlogx(nhit+nfa)+xlogx(nmiss+ncr))+xlogx(nhit+nmiss+nfa+ncr)
}
BTW I can't figure out how to break the line at 80 cols. I tried \
but it didn't work (error message).
The question is about this function. It calc...