-
Notifications
You must be signed in to change notification settings - Fork 8
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
Clean up summary
functions
#461
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 943121d - Browse repository at this point
Copy the full SHA 943121dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de4e78 - Browse repository at this point
Copy the full SHA 6de4e78View commit details -
no need ot do.call(rbind, ...) or apply(..., paste): just paste the f…
…irst and second elements in x$design_par; also use gsub(fixed = TRUE) to avoid escaping parentheses as \(\)
Configuration menu - View commit details
-
Copy full SHA for b26ed32 - Browse repository at this point
Copy the full SHA b26ed32View commit details -
use a regular expression \\U to capitalize the first letter
an alternative way is a loop: for (i in c("design", "n", "event", "time", "bound", "power")) { # special case: Event -> Events names(ans)[names(ans) == i] <- if (i == "event") "Events" else { # capitalize the first letter sub("^(.)", "\\U\\1", i, perl = TRUE) } }
Configuration menu - View commit details
-
Copy full SHA for 59047f3 - Browse repository at this point
Copy the full SHA 59047f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f163e05 - Browse repository at this point
Copy the full SHA f163e05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f7a59 - Browse repository at this point
Copy the full SHA 45f7a59View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0830bd - Browse repository at this point
Copy the full SHA a0830bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f4207 - Browse repository at this point
Copy the full SHA 23f4207View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea50328 - Browse repository at this point
Copy the full SHA ea50328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c3190e - Browse repository at this point
Copy the full SHA 0c3190eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cefeb5f - Browse repository at this point
Copy the full SHA cefeb5fView commit details -
untangle this complicated if-else hairball
the pattern `x[match(y, names(x))]` could win an unmatched award... it should have been simply `x[y]`
Configuration menu - View commit details
-
Copy full SHA for e3eaa16 - Browse repository at this point
Copy the full SHA e3eaa16View commit details -
Configuration menu - View commit details
-
Copy full SHA for a405832 - Browse repository at this point
Copy the full SHA a405832View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf14ae - Browse repository at this point
Copy the full SHA fdf14aeView commit details -
the
mutate_at()
can be a simple<-
assignment to column, and the ……`filter()` can be simply indexing by name from `col_decimals`; then all `if` statments can be merged into a `for` loop
Configuration menu - View commit details
-
Copy full SHA for df565fd - Browse repository at this point
Copy the full SHA df565fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a2754 - Browse repository at this point
Copy the full SHA 84a2754View commit details -
Configuration menu - View commit details
-
Copy full SHA for 920b18c - Browse repository at this point
Copy the full SHA 920b18cView commit details -
store col_vars in the names of col_decimals, and use names when we ne…
…ed to access the col_vars
Configuration menu - View commit details
-
Copy full SHA for b263d07 - Browse repository at this point
Copy the full SHA b263d07View commit details
Commits on Aug 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 84c46db - Browse repository at this point
Copy the full SHA 84c46dbView commit details -
also apply get_decimals() to analysis variables and decimals, and ren…
…ame columns in `analyses`
Configuration menu - View commit details
-
Copy full SHA for 08674f9 - Browse repository at this point
Copy the full SHA 08674f9View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7401dbe - Browse repository at this point
Copy the full SHA 7401dbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c939c - Browse repository at this point
Copy the full SHA 59c939cView commit details -
the columns have already been renamed before, and bound names have al…
…so been updated, so only need to add the `Null hypothesis` column
Configuration menu - View commit details
-
Copy full SHA for 2b3de00 - Browse repository at this point
Copy the full SHA 2b3de00View commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c18b536 - Browse repository at this point
Copy the full SHA c18b536View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54fcf2 - Browse repository at this point
Copy the full SHA a54fcf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d223dc0 - Browse repository at this point
Copy the full SHA d223dc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 004af38 - Browse repository at this point
Copy the full SHA 004af38View commit details
Commits on Sep 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c70436 - Browse repository at this point
Copy the full SHA 2c70436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a69d8b - Browse repository at this point
Copy the full SHA 0a69d8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c5c87 - Browse repository at this point
Copy the full SHA b7c5c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for d00be63 - Browse repository at this point
Copy the full SHA d00be63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c505d9 - Browse repository at this point
Copy the full SHA 3c505d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ab5be - Browse repository at this point
Copy the full SHA c7ab5beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cde29a - Browse repository at this point
Copy the full SHA 9cde29aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 494e354 - Browse repository at this point
Copy the full SHA 494e354View commit details -
Configuration menu - View commit details
-
Copy full SHA for df032cc - Browse repository at this point
Copy the full SHA df032ccView commit details -
unnecessary to create the two objects
analysis_header
and `bound_de……tails`; just use `analyses` and `xy`
Configuration menu - View commit details
-
Copy full SHA for f724c3b - Browse repository at this point
Copy the full SHA f724c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 774e3e4 - Browse repository at this point
Copy the full SHA 774e3e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d66828 - Browse repository at this point
Copy the full SHA 9d66828View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92d2bfe - Browse repository at this point
Copy the full SHA 92d2bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f1de2a - Browse repository at this point
Copy the full SHA 4f1de2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1a18fb - Browse repository at this point
Copy the full SHA b1a18fbView commit details -
only import stats::setNames() since stats has filter(), which conflic…
…ts with dplyr::filter()
Configuration menu - View commit details
-
Copy full SHA for 9ba6c87 - Browse repository at this point
Copy the full SHA 9ba6c87View commit details