Learn R Programming

nsdr (version 0.1.1)

matpower: matpower

Description

matpower

Usage

matpower(a,alpha)

Arguments

a

matrix

alpha

power

Value

power of a matrix

References

Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.

Examples

Run this code
# NOT RUN {
mat <- matrix(rnorm(4,1,3),2,2)
invmat <- matpower(mat,-1)
# }

Run the code above in your browser using DataLab