# Example usage:
rho <- seq(0, 1, length.out = 50)
rho_sas <- corrsas(rho, skew = 0.5, tail = 0.8, max_coeff = 20)
plot(rho, rho_sas, type = "l", main = "SAS Correlation",
xlab = "Original Correlation", ylab = "Transformed Correlation")
Run the code above in your browser using DataLab