Skip to content

Function windsorize() ignores outliers with low values  #28

@MarkoBarzic

Description

@MarkoBarzic

Function windsorize() returns vector that has had only higher outliers windsorized, while the lower outliers remains as they are.
For example, if we have vector
x<- (-20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 20)
windsorize(x) will return
-20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9.
It should return the following:
-9.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions