R/stdofT.R

stdofT <-
function( tnmvec, meanarr, sdarr ){
        mvalue = tnmvec[2]
        mum = meanarr[ which(meanarr[,2]==mvalue),1]
        sigmam = sdarr[ which(sdarr[,2]==mvalue),1]
        stdtn = (tnmvec[1] - mum)/sigmam
        return( c(stdtn, mvalue) )
        }

Try the sgRSEA package in your browser

Any scripts or data that you put into this service are public.

sgRSEA documentation built on May 2, 2019, 2:47 p.m.