powered by
gram.dis
gram.dis(y)
discrete vector
gram matrix for discrete vector
Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.
# NOT RUN { toy <- c(1,2,3,1) result=gram.dis(toy) # }
Run the code above in your browser using DataLab