Learn R Programming

nsdr (version 0.1.1)

gram.dis: gram.dis

Description

gram.dis

Usage

gram.dis(y)

Arguments

y

discrete vector

Value

gram matrix for discrete vector

References

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

Examples

Run this code
# NOT RUN {
toy <- c(1,2,3,1)
result=gram.dis(toy)
# }

Run the code above in your browser using DataLab