powered by
Adjust gamma by diescriminant conversion formula so that the critical line is a straight 45-degree line. The inverse adjustment is also provided.
ecd.adj_gamma(gamma)ecd.adj2gamma(adj_gamma)
ecd.adj2gamma(adj_gamma)
numeric, the gamma paramter
numeric, the disciminant-adjusted gamma
adjusted gamma (or the reverse of adjustment)
# NOT RUN { gamma2 <- ecd.adj_gamma(c(1,2)) gamma <- ecd.adj2gamma(c(1,2)) # }
Run the code above in your browser using DataLab