powered by
matpower
matpower(a,alpha)
matrix
power
power of a matrix
Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.
# NOT RUN { mat <- matrix(rnorm(4,1,3),2,2) invmat <- matpower(mat,-1) # }
Run the code above in your browser using DataLab