• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión9e054c5bf4de51bd0b46fe25c3fe3c353f9621d7 (tree)
Tiempo2023-01-25 18:34:46
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I merged two different heads.

Cambiar Resumen

Diferencia incremental

diff -r f137675fd64a -r 9e054c5bf4de R-codes/stat_lib.R
--- a/R-codes/stat_lib.R Wed Jan 25 10:34:08 2023 +0100
+++ b/R-codes/stat_lib.R Wed Jan 25 10:34:46 2023 +0100
@@ -5138,15 +5138,22 @@
51385138
51395139
51405140
5141-clean_data <- function(x){
5141+clean_data <- function(x, remove_duplicated_rows=T){
51425142
51435143 res <- x |> ## %>%
51445144 clean_names() |> ## %>%
51455145 remove_empty() |> ## %>%
5146- distinct() |> ## %>%
5146+
51475147 rem_dupl_cols() |> ## %>%
51485148 rem_const_cols()
51495149
5150+ if (remove_duplicated_rows==T){
5151+
5152+ res <- res |>
5153+ distinct()
5154+
5155+ }
5156+
51505157 return(res)
51515158
51525159