Unlike the trim, which remove the extreme data, the winsor function would replace the extreme data ( like the 1% smallest or the top 3 highest, bottom 3 lowest) with the data at required percentage.