Crandore Hub

Keng

Knock Errors Off Nice Guesses

Miscellaneous functions and data used in psychological research and teaching. Keng currently has a built-in dataset depress, and could (1) scale a vector; (2) divide a vector into three groups, (3) compute the cut-off values of Pearson's r with known sample size; (4) test the significance and compute the post-hoc power for Pearson's r with known sample size; (5) conduct a priori power analysis and plan the sample size for Pearson's r; (6) compare lm()'s fitted outputs using R-squared, f_squared, post-hoc power, and PRE (Proportional Reduction in Error, also called partial R-squared or partial Eta-squared); (7) calculate PRE from partial correlation, Cohen's f, or f_squared; (8) conduct a priori power analysis and plan the sample size for one or a set of predictors in regression analysis; (9) conduct post-hoc power analysis for one or a set of predictors in regression analysis with known sample size; (10) randomly pick numbers for Chinese Super Lotto and Double Color Balls; (11) assess course objective achievement in Outcome-Based Education.

Versions across snapshots

VersionRepositoryFileSize
2026.3.19 rolling linux/jammy R-4.5 Keng_2026.3.19.tar.gz 176.2 KiB
2026.3.19 rolling linux/noble R-4.5 Keng_2026.3.19.tar.gz 176.1 KiB
2026.3.19 rolling source/ R- Keng_2026.3.19.tar.gz 121.7 KiB
2026.3.19 latest linux/jammy R-4.5 Keng_2026.3.19.tar.gz 176.2 KiB
2026.3.19 latest linux/noble R-4.5 Keng_2026.3.19.tar.gz 176.1 KiB
2026.3.19 latest source/ R- Keng_2026.3.19.tar.gz 121.7 KiB
2026.3.19 2026-04-26 source/ R- Keng_2026.3.19.tar.gz 121.7 KiB
2026.3.19 2026-04-23 source/ R- Keng_2026.3.19.tar.gz 121.7 KiB
2026.3.19 2026-04-09 windows/windows R-4.5 Keng_2026.3.19.zip 184.8 KiB
2024.12.15 2025-04-20 source/ R- Keng_2024.12.15.tar.gz 79.7 KiB

Dependencies (latest)

Imports

Suggests