Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windsorize() is not considering the smallest data point of the vector #15

Open
VilmaShehu opened this issue May 4, 2019 · 0 comments · May be fixed by #18
Open

windsorize() is not considering the smallest data point of the vector #15

VilmaShehu opened this issue May 4, 2019 · 0 comments · May be fixed by #18

Comments

@VilmaShehu
Copy link

windsorize() is expected to replace a given percentage of the top and bottom values from some observations, in our case a vector of numbers. It actually does not effect the lower value , only the higher value.
windsorize(c(2,4,6,8,10))
[1] 2.0 4.0 6.0 8.0 9.2

VilmaShehu added a commit to VilmaShehu/datacleaner that referenced this issue May 4, 2019
…rguments and to consider the smallest value of the vector. This fixes quantargo#15 & quantargo#16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant