I want to transform the variable to only include values from 15th to 80th percentile of that data. What is the code for that?

Any help shall be highly appreciated!