Package: Keng
Title: Knock Errors Off Nice Guesses
Version: 2025.10.8
Authors@R: 
    person(
    given = "Qingyao",
    family = "Zhang",
    email = "qingyaozhang@outlook.com", 
    role = c("aut", "cre"),
    comment = c(ORCID = "0000-0002-6891-5982"))
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) compute the cut-off 
    values of Pearson's r with known sample size; (3) test the significance and compute the post-hoc
    power for Pearson's r with known sample size; (4) conduct a priori power analysis and plan the 
    sample size for Pearson's r; (5) 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); (6) calculate PRE from partial correlation, Cohen's f, or f_squared; 
    (7) conduct a priori power analysis and plan the sample size for one or a set of predictors in 
    regression analysis; (8) conduct post-hoc power analysis for one or a set of predictors in 
    regression analysis with known sample size; (9) randomly pick numbers for Chinese Super Lotto
    and Double Color Balls; (10) assess course objective achievement in Outcome-Based Education.
License: CC BY 4.0
Language: en-US
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: stats
Suggests: ggplot2, knitr, rmarkdown, car, effectsize, tidyr, testthat
        (>= 3.0.0)
Config/testthat/edition: 3
URL: https://github.com/qyaozh/Keng
BugReports: https://github.com/qyaozh/Keng/issues
Depends: R (>= 2.10)
LazyData: true
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-10-09 08:35:44 UTC; Yao
Author: Qingyao Zhang [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-6891-5982>)
Maintainer: Qingyao Zhang <qingyaozhang@outlook.com>
Repository: CRAN
Date/Publication: 2025-10-09 11:10:08 UTC
Built: R 4.6.0; ; 2025-10-14 00:50:53 UTC; windows
