powered by
trace
tr(a)
any matrix
trace value of the matrix
Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.
# NOT RUN { mat <- matrix(2,2,2) tr(mat) # }
Run the code above in your browser using DataLab