pedersebastian / outlieR

Identify, Filter and Visualisation of Outliers
https://pedersebastian.github.io/outlieR/
Other
0 stars 0 forks source link

Zero variance #14

Open pedersebastian opened 1 year ago

pedersebastian commented 1 year ago

txhousing |> count(city, sort = T) Alle har 187 rows --> alle er outliers. Må endres til omvendt. !

Skjer det samme om kontinuerlig kun har en verdi??

pedersebastian commented 1 year ago

Gjelder ikke kontinuerlig eller logical

pedersebastian commented 1 year ago

NA blir aldri fjerna nåå... Skulle vært 104

library(outlieR)
    l_df <- tibble::tibble(x = rep(c(LETTERS, NA_character_), 4))
identify_outlier(l_df, x, control = control_outlier(na_action = "omit")) |> filter_outlier() |> nrow()
#> [1] 108

Created on 2023-08-15 with reprex v2.0.2