Skip to content

Keng

Knock Errors Off Nice Guesses

v2026.3.19 · Mar 19, 2026 · CC BY 4.0

Description

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.

Downloads

454

Last 30 days

8441st

800

Last 90 days

2.9K

Last year

Trend: +139% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

updated 2026.3.19 ← 2025.10.8 diff Mar 19, 2026
new 2025.10.8 Mar 10, 2026
updated 2025.10.8 ← 2025.9.1 diff Oct 8, 2025
updated 2025.9.1 ← 2025.8.16 diff Aug 30, 2025
updated 2025.8.16 ← 2024.12.15 diff Aug 19, 2025
updated 2024.12.15 ← 2024.11.25 diff Dec 14, 2024
updated 2024.11.25 ← 2024.11.17 diff Nov 23, 2024
updated 2024.11.17 ← 2024.11.02 diff Nov 16, 2024
updated 2024.11.02 ← 2024.10.16 diff Nov 3, 2024
new 2024.10.16 Oct 16, 2024