{
  "_id": "6a13189eacfb0bcc41d272d9",
  "Package": "Keng",
  "Title": "Knock Errors Off Nice Guesses",
  "Version": "2026.3.19.9000",
  "Authors@R": "person(\ngiven = \"Qingyao\",\nfamily = \"Zhang\",\nemail = \"qingyaozhang@outlook.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6891-5982\"))",
  "Description": "Miscellaneous functions and data used in psychological\nresearch and teaching. Keng currently has four built-in\ndatasets, and could (1) scale a vector; (2) divide a vector\ninto three groups, (3) compute the cut-off values of Pearson's\nr with known sample size; (4) test the significance and compute\nthe post-hoc power for Pearson's r with known sample size; (5)\nconduct a priori power analysis and plan the sample size for\nPearson's r; (6) compare lm()'s fitted outputs using R-squared,\nf_squared, post-hoc power, and PRE (Proportional Reduction in\nError, also called partial R-squared or partial Eta-squared);\n(7) calculate PRE from partial correlation, Cohen's f, or\nf_squared; (8) conduct a priori power analysis and plan the\nsample size for one or a set of predictors in regression\nanalysis; (9) conduct post-hoc power analysis for one or a set\nof predictors in regression analysis with known sample size;\n(10) randomly pick numbers for Chinese Super Lotto and Double\nColor Balls; (11) assess course objective achievement in\nOutcome-Based Education.",
  "License": "CC BY 4.0",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/qyaozh/Keng",
  "BugReports": "https://github.com/qyaozh/Keng/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://qyaozh.r-universe.dev",
  "Date/Publication": "2026-05-24 14:49:38 UTC",
  "RemoteUrl": "https://github.com/qyaozh/keng",
  "RemoteRef": "HEAD",
  "RemoteSha": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 15:23:10 UTC",
    "User": "root"
  },
  "Author": "Qingyao Zhang [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6891-5982>)",
  "Maintainer": "Qingyao Zhang <qingyaozhang@outlook.com>",
  "MD5sum": "2b5bb232b3b6ce81231465deb96b38ee",
  "_user": "qyaozh",
  "_type": "src",
  "_file": "Keng_2026.3.19.9000.tar.gz",
  "_fileid": "d8b6b4d389bf69ce011c92e0158e610d3754a2e8dbc7c459cdb4ff6bc8e57b5d",
  "_filesize": 636715,
  "_sha256": "d8b6b4d389bf69ce011c92e0158e610d3754a2e8dbc7c459cdb4ff6bc8e57b5d",
  "_created": "2026-05-24T15:23:10.000Z",
  "_published": "2026-05-24T15:26:22.337Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77607527637,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7186257798"
    },
    {
      "job": 77607527642,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7186254404"
    },
    {
      "job": 77607527622,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7186252102"
    },
    {
      "job": 77607527609,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7186250650"
    },
    {
      "job": 77607325193,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186240239"
    },
    {
      "job": 77607527611,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7186252181"
    },
    {
      "job": 77607527639,
      "time": 80,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7186248772"
    },
    {
      "job": 77607527645,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7186249740"
    },
    {
      "job": 77607527651,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7186248408"
    }
  ],
  "_buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/qyaozh/keng",
  "_commit": {
    "id": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
    "author": "Qingyao Zhang <qingyaozhang@outlook.com>",
    "committer": "Qingyao Zhang <qingyaozhang@outlook.com>",
    "message": "remove color\n",
    "time": 1779634178
  },
  "_maintainer": {
    "name": "Qingyao Zhang",
    "email": "qingyaozhang@outlook.com",
    "login": "qyaozh",
    "description": "",
    "uuid": 132248913,
    "orcid": "0000-0002-6891-5982"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "car",
      "role": "Suggests"
    },
    {
      "package": "effectsize",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "qyaozh",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 12
    },
    {
      "week": "2025-34",
      "n": 12
    },
    {
      "week": "2025-35",
      "n": 5
    },
    {
      "week": "2025-36",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 11
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 10
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2025.8.16",
      "date": "2025-08-20"
    },
    {
      "name": "2025.9.1",
      "date": "2025-08-31"
    },
    {
      "name": "2025.10.8",
      "date": "2025-10-09"
    },
    {
      "name": "v2026.3.19",
      "date": "2026-03-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "qyaozh",
      "count": 177,
      "uuid": 132248913
    }
  ],
  "_userbio": {
    "uuid": 132248913,
    "type": "user",
    "name": "Keng"
  },
  "_downloads": {
    "count": 528,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Keng"
  },
  "_devurl": "https://github.com/qyaozh/keng",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/Keng.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/qyaozh/keng",
  "_realowner": "qyaozh",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2024.10.16",
      "date": "2024-10-17"
    },
    {
      "version": "2024.11.02",
      "date": "2024-11-04"
    },
    {
      "version": "2024.11.17",
      "date": "2024-11-17"
    },
    {
      "version": "2024.11.25",
      "date": "2024-11-24"
    },
    {
      "version": "2024.12.15",
      "date": "2024-12-15"
    },
    {
      "version": "2025.8.16",
      "date": "2025-08-20"
    },
    {
      "version": "2025.9.1",
      "date": "2025-08-31"
    },
    {
      "version": "2025.10.8",
      "date": "2025-10-09"
    },
    {
      "version": "2026.3.19",
      "date": "2026-03-19"
    }
  ],
  "_exports": [
    "assess_coa",
    "calc_PRE",
    "compare_lm",
    "cut_r",
    "divide",
    "pick_dcb",
    "pick_sl",
    "power_lm",
    "power_r",
    "powered_lm",
    "powered_r",
    "Scale",
    "test_r"
  ],
  "_datasets": [
    {
      "name": "depress",
      "title": "Three-wave data from the D research",
      "object": "depress",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date100",
        "date200",
        "date300",
        "id",
        "gender",
        "age",
        "grade",
        "class",
        "boarder",
        "cost",
        "fedu",
        "medu",
        "intervene",
        "attr112",
        "attr113",
        "attr114",
        "attr115",
        "attr122",
        "attr123",
        "attr124",
        "attr125",
        "attr132",
        "attr133",
        "attr134",
        "attr135",
        "attr142",
        "attr143",
        "attr144",
        "attr145",
        "attr152",
        "attr153",
        "attr154",
        "attr155",
        "attr162",
        "attr163",
        "attr164",
        "attr165",
        "attr172",
        "attr173",
        "attr174",
        "attr175",
        "attr182",
        "attr183",
        "attr184",
        "attr185",
        "attr212",
        "attr213",
        "attr214",
        "attr215",
        "attr222",
        "attr223",
        "attr224",
        "attr225",
        "attr232",
        "attr233",
        "attr234",
        "attr235",
        "attr242",
        "attr243",
        "attr244",
        "attr245",
        "attr252",
        "attr253",
        "attr254",
        "attr255",
        "attr262",
        "attr263",
        "attr264",
        "attr265",
        "attr272",
        "attr273",
        "attr274",
        "attr275",
        "attr282",
        "attr283",
        "attr284",
        "attr285",
        "cope101",
        "cope102",
        "cope103",
        "cope104",
        "cope105",
        "cope106",
        "cope107",
        "cope108",
        "cope109",
        "cope110",
        "cope111",
        "cope112",
        "cope113",
        "cope114",
        "cope115",
        "cope116",
        "cope117",
        "cope118",
        "cope119",
        "cope120",
        "cope121",
        "cope122",
        "cope123",
        "cope124",
        "cope125",
        "cope126",
        "cope127",
        "cope128",
        "cope129",
        "cope130",
        "cope131",
        "cope132",
        "cope133",
        "cope134",
        "cope135",
        "cope136",
        "cope137",
        "cope138",
        "cope139",
        "cope140",
        "cope141",
        "cope142",
        "cope143",
        "cope144",
        "cope145",
        "cope146",
        "cope147",
        "cope148",
        "cope149",
        "cope150",
        "cope201",
        "cope202",
        "cope203",
        "cope204",
        "cope205",
        "cope206",
        "cope207",
        "cope208",
        "cope209",
        "cope210",
        "cope211",
        "cope212",
        "cope213",
        "cope214",
        "cope215",
        "cope216",
        "cope217",
        "cope218",
        "cope219",
        "cope220",
        "cope221",
        "cope222",
        "cope223",
        "cope224",
        "cope225",
        "cope226",
        "cope227",
        "cope228",
        "cope229",
        "cope230",
        "cope231",
        "cope232",
        "cope233",
        "cope234",
        "cope235",
        "cope236",
        "cope237",
        "cope238",
        "cope239",
        "cope240",
        "cope241",
        "cope242",
        "cope243",
        "cope244",
        "cope245",
        "cope246",
        "cope247",
        "cope248",
        "cope249",
        "cope250",
        "cope301",
        "cope302",
        "cope303",
        "cope304",
        "cope305",
        "cope306",
        "cope307",
        "cope308",
        "cope309",
        "cope310",
        "cope311",
        "cope312",
        "cope313",
        "cope314",
        "cope315",
        "cope316",
        "cope317",
        "cope318",
        "cope319",
        "cope320",
        "cope321",
        "cope322",
        "cope323",
        "cope324",
        "cope325",
        "cope326",
        "cope327",
        "cope328",
        "cope329",
        "cope330",
        "cope331",
        "cope332",
        "cope333",
        "cope334",
        "cope335",
        "cope336",
        "cope337",
        "cope338",
        "cope339",
        "cope340",
        "cope341",
        "cope342",
        "cope343",
        "cope344",
        "cope345",
        "cope346",
        "cope347",
        "cope348",
        "cope349",
        "cope350",
        "depr101",
        "depr102",
        "depr103",
        "depr104",
        "depr105",
        "depr106",
        "depr107",
        "depr108",
        "depr109",
        "depr110",
        "depr111",
        "depr112",
        "depr113",
        "depr114",
        "depr115",
        "depr116",
        "depr117",
        "depr118",
        "depr119",
        "depr120",
        "depr201",
        "depr202",
        "depr203",
        "depr204",
        "depr205",
        "depr206",
        "depr207",
        "depr208",
        "depr209",
        "depr210",
        "depr211",
        "depr212",
        "depr213",
        "depr214",
        "depr215",
        "depr216",
        "depr217",
        "depr218",
        "depr219",
        "depr220",
        "depr301",
        "depr302",
        "depr303",
        "depr304",
        "depr305",
        "depr306",
        "depr307",
        "depr308",
        "depr309",
        "depr310",
        "depr311",
        "depr312",
        "depr313",
        "depr314",
        "depr315",
        "depr316",
        "depr317",
        "depr318",
        "depr319",
        "depr320",
        "ecr101",
        "ecr102",
        "ecr103",
        "ecr104",
        "ecr105",
        "ecr106",
        "ecr107",
        "ecr108",
        "ecr109",
        "na_waves",
        "attach_anx",
        "attach_avo",
        "internalP1",
        "stableP1",
        "globalP1",
        "internalN1",
        "stableN1",
        "globalN1",
        "internalP2",
        "stableP2",
        "globalP2",
        "internalN2",
        "stableN2",
        "globalN2",
        "cope_task1",
        "cope_emo1",
        "cope_avo1",
        "cope_task2",
        "cope_emo2",
        "cope_avo2",
        "cope_task3",
        "cope_emo3",
        "cope_avo3",
        "depr1",
        "depr2",
        "depr3"
      ],
      "rows": 185,
      "table": true,
      "tojson": true
    },
    {
      "name": "depress1",
      "title": "The 1st wave data from the D research",
      "object": "depress1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "id",
        "gender",
        "age",
        "grade",
        "class",
        "boarder",
        "cost",
        "fedu",
        "medu",
        "intervene",
        "ecr01",
        "ecr02",
        "ecr03",
        "ecr04",
        "ecr05",
        "ecr06",
        "ecr07",
        "ecr08",
        "ecr09",
        "attr12",
        "attr13",
        "attr14",
        "attr15",
        "attr22",
        "attr23",
        "attr24",
        "attr25",
        "attr32",
        "attr33",
        "attr34",
        "attr35",
        "attr42",
        "attr43",
        "attr44",
        "attr45",
        "attr52",
        "attr53",
        "attr54",
        "attr55",
        "attr62",
        "attr63",
        "attr64",
        "attr65",
        "attr72",
        "attr73",
        "attr74",
        "attr75",
        "attr82",
        "attr83",
        "attr84",
        "attr85",
        "cope01",
        "cope02",
        "cope03",
        "cope04",
        "cope05",
        "cope06",
        "cope07",
        "cope08",
        "cope09",
        "cope10",
        "cope11",
        "cope12",
        "cope13",
        "cope14",
        "cope15",
        "cope16",
        "cope17",
        "cope18",
        "cope19",
        "cope20",
        "cope21",
        "cope22",
        "cope23",
        "cope24",
        "cope25",
        "cope26",
        "cope27",
        "cope28",
        "cope29",
        "cope30",
        "cope31",
        "cope32",
        "cope33",
        "cope34",
        "cope35",
        "cope36",
        "cope37",
        "cope38",
        "cope39",
        "cope40",
        "cope41",
        "cope42",
        "cope43",
        "cope44",
        "cope45",
        "cope46",
        "cope47",
        "cope48",
        "cope49",
        "cope50",
        "depr01",
        "depr02",
        "depr03",
        "depr04",
        "depr05",
        "depr06",
        "depr07",
        "depr08",
        "depr09",
        "depr10",
        "depr11",
        "depr12",
        "depr13",
        "depr14",
        "depr15",
        "depr16",
        "depr17",
        "depr18",
        "depr19",
        "depr20"
      ],
      "rows": 174,
      "table": true,
      "tojson": true
    },
    {
      "name": "depress2",
      "title": "The 2nd wave data from the D research",
      "object": "depress2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "id",
        "attr12",
        "attr13",
        "attr14",
        "attr15",
        "attr22",
        "attr23",
        "attr24",
        "attr25",
        "attr32",
        "attr33",
        "attr34",
        "attr35",
        "attr42",
        "attr43",
        "attr44",
        "attr45",
        "attr52",
        "attr53",
        "attr54",
        "attr55",
        "attr62",
        "attr63",
        "attr64",
        "attr65",
        "attr72",
        "attr73",
        "attr74",
        "attr75",
        "attr82",
        "attr83",
        "attr84",
        "attr85",
        "cope01",
        "cope02",
        "cope03",
        "cope04",
        "cope05",
        "cope06",
        "cope07",
        "cope08",
        "cope09",
        "cope10",
        "cope11",
        "cope12",
        "cope13",
        "cope14",
        "cope15",
        "cope16",
        "cope17",
        "cope18",
        "cope19",
        "cope20",
        "cope21",
        "cope22",
        "cope23",
        "cope24",
        "cope25",
        "cope26",
        "cope27",
        "cope28",
        "cope29",
        "cope30",
        "cope31",
        "cope32",
        "cope33",
        "cope34",
        "cope35",
        "cope36",
        "cope37",
        "cope38",
        "cope39",
        "cope40",
        "cope41",
        "cope42",
        "cope43",
        "cope44",
        "cope45",
        "cope46",
        "cope47",
        "cope48",
        "cope49",
        "cope50",
        "depr01",
        "depr02",
        "depr03",
        "depr04",
        "depr05",
        "depr06",
        "depr07",
        "depr08",
        "depr09",
        "depr10",
        "depr11",
        "depr12",
        "depr13",
        "depr14",
        "depr15",
        "depr16",
        "depr17",
        "depr18",
        "depr19",
        "depr20"
      ],
      "rows": 173,
      "table": true,
      "tojson": true
    },
    {
      "name": "depress3",
      "title": "The 3rd wave data from the D research",
      "object": "depress3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "id",
        "cope01",
        "cope02",
        "cope03",
        "cope04",
        "cope05",
        "cope06",
        "cope07",
        "cope08",
        "cope09",
        "cope10",
        "cope11",
        "cope12",
        "cope13",
        "cope14",
        "cope15",
        "cope16",
        "cope17",
        "cope18",
        "cope19",
        "cope20",
        "cope21",
        "cope22",
        "cope23",
        "cope24",
        "cope25",
        "cope26",
        "cope27",
        "cope28",
        "cope29",
        "cope30",
        "cope31",
        "cope32",
        "cope33",
        "cope34",
        "cope35",
        "cope36",
        "cope37",
        "cope38",
        "cope39",
        "cope40",
        "cope41",
        "cope42",
        "cope43",
        "cope44",
        "cope45",
        "cope46",
        "cope47",
        "cope48",
        "cope49",
        "cope50",
        "depr01",
        "depr02",
        "depr03",
        "depr04",
        "depr05",
        "depr06",
        "depr07",
        "depr08",
        "depr09",
        "depr10",
        "depr11",
        "depr12",
        "depr13",
        "depr14",
        "depr15",
        "depr16",
        "depr17",
        "depr18",
        "depr19",
        "depr20"
      ],
      "rows": 172,
      "table": true,
      "tojson": true
    },
    {
      "name": "well",
      "title": "Three-wave data from the W research",
      "object": "well",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "gender100",
        "age100",
        "grade100",
        "income100",
        "income200",
        "loan300",
        "cost100",
        "cost200",
        "SSES100",
        "SSES200",
        "heema101",
        "heema102",
        "heema103",
        "heema104",
        "heema105",
        "heema106",
        "heema107",
        "heema108",
        "heema109",
        "heema110",
        "heema111",
        "heema112",
        "heema113",
        "heema114",
        "heema115",
        "heema116",
        "heema201",
        "heema202",
        "heema203",
        "heema204",
        "heema205",
        "heema206",
        "heema207",
        "heema208",
        "heema209",
        "heema210",
        "heema211",
        "heema212",
        "heema213",
        "heema214",
        "heema215",
        "heema216",
        "heema301",
        "heema302",
        "heema303",
        "heema304",
        "heema305",
        "heema306",
        "heema307",
        "heema308",
        "heema309",
        "heema310",
        "heema311",
        "heema312",
        "heema313",
        "heema314",
        "heema315",
        "heema316",
        "cssp101",
        "csss101",
        "csst101",
        "cssf101",
        "cssr101",
        "cssp102",
        "csss102",
        "csst102",
        "cssf102",
        "cssr102",
        "cssp103",
        "csss103",
        "csst103",
        "cssf103",
        "cssr103",
        "cssp104",
        "csss104",
        "csst104",
        "cssf104",
        "cssr104",
        "cssp105",
        "csss105",
        "csst105",
        "cssf105",
        "cssr105",
        "cssp106",
        "csss106",
        "csst106",
        "cssf106",
        "cssr106",
        "cssp107",
        "csss107",
        "csst107",
        "cssf107",
        "cssr107",
        "cssp108",
        "csss108",
        "csst108",
        "cssf108",
        "cssr108",
        "cssp109",
        "csss109",
        "csst109",
        "cssf109",
        "cssr109",
        "cssp110",
        "csss110",
        "csst110",
        "cssf110",
        "cssr110",
        "cssp111",
        "csss111",
        "csst111",
        "cssf111",
        "cssr111",
        "cssp112",
        "csss112",
        "csst112",
        "cssf112",
        "cssr112",
        "cssp113",
        "csss113",
        "csst113",
        "cssf113",
        "cssr113",
        "cssp114",
        "csss114",
        "csst114",
        "cssf114",
        "cssr114",
        "cssp115",
        "csss115",
        "csst115",
        "cssf115",
        "cssr115",
        "cssp116",
        "csss116",
        "csst116",
        "cssf116",
        "cssr116",
        "cssp117",
        "csss117",
        "csst117",
        "cssf117",
        "cssr117",
        "cssp118",
        "csss118",
        "csst118",
        "cssf118",
        "cssr118",
        "cssp119",
        "csss119",
        "csst119",
        "cssf119",
        "cssr119",
        "cssp120",
        "csss120",
        "csst120",
        "cssf120",
        "cssr120",
        "cssp201",
        "csss201",
        "csst201",
        "cssf201",
        "cssr201",
        "cssp202",
        "csss202",
        "csst202",
        "cssf202",
        "cssr202",
        "cssp203",
        "csss203",
        "csst203",
        "cssf203",
        "cssr203",
        "cssp204",
        "csss204",
        "csst204",
        "cssf204",
        "cssr204",
        "cssp205",
        "csss205",
        "csst205",
        "cssf205",
        "cssr205",
        "cssp206",
        "csss206",
        "csst206",
        "cssf206",
        "cssr206",
        "cssp207",
        "csss207",
        "csst207",
        "cssf207",
        "cssr207",
        "cssp208",
        "csss208",
        "csst208",
        "cssf208",
        "cssr208",
        "cssp209",
        "csss209",
        "csst209",
        "cssf209",
        "cssr209",
        "cssp210",
        "csss210",
        "csst210",
        "cssf210",
        "cssr210",
        "cssp211",
        "csss211",
        "csst211",
        "cssf211",
        "cssr211",
        "cssp212",
        "csss212",
        "csst212",
        "cssf212",
        "cssr212",
        "cssp213",
        "csss213",
        "csst213",
        "cssf213",
        "cssr213",
        "cssp214",
        "csss214",
        "csst214",
        "cssf214",
        "cssr214",
        "cssp215",
        "csss215",
        "csst215",
        "cssf215",
        "cssr215",
        "cssp216",
        "csss216",
        "csst216",
        "cssf216",
        "cssr216",
        "cssp217",
        "csss217",
        "csst217",
        "cssf217",
        "cssr217",
        "cssp218",
        "csss218",
        "csst218",
        "cssf218",
        "cssr218",
        "cssp219",
        "csss219",
        "csst219",
        "cssf219",
        "cssr219",
        "cssp220",
        "csss220",
        "csst220",
        "cssf220",
        "cssr220",
        "grit101",
        "grit102",
        "grit103",
        "grit104",
        "grit105",
        "grit106",
        "grit107",
        "grit108",
        "grit201",
        "grit202",
        "grit203",
        "grit204",
        "grit205",
        "grit206",
        "grit207",
        "grit208",
        "grit301",
        "grit302",
        "grit303",
        "grit304",
        "grit305",
        "grit306",
        "grit307",
        "grit308",
        "CET4100",
        "CET4200",
        "CET4300",
        "flourish101",
        "flourish102",
        "flourish103",
        "flourish104",
        "flourish105",
        "flourish106",
        "flourish107",
        "flourish108",
        "flourish201",
        "flourish202",
        "flourish203",
        "flourish204",
        "flourish205",
        "flourish206",
        "flourish207",
        "flourish208",
        "flourish301",
        "flourish302",
        "flourish303",
        "flourish304",
        "flourish305",
        "flourish306",
        "flourish307",
        "flourish308",
        "spne101",
        "spne102",
        "spne103",
        "spne104",
        "spne105",
        "spne106",
        "spne107",
        "spne108",
        "spne109",
        "spne110",
        "spne111",
        "spne112",
        "spne201",
        "spne202",
        "spne203",
        "spne204",
        "spne205",
        "spne206",
        "spne207",
        "spne208",
        "spne209",
        "spne210",
        "spne211",
        "spne212",
        "spne301",
        "spne302",
        "spne303",
        "spne304",
        "spne305",
        "spne306",
        "spne307",
        "spne308",
        "spne309",
        "spne310",
        "spne311",
        "spne312",
        "flourish1",
        "flourish2",
        "flourish3",
        "posEmo1",
        "posEmo2",
        "posEmo3",
        "negEmo1",
        "negEmo2",
        "negEmo3",
        "grit1",
        "grit2",
        "grit3",
        "perseverance1",
        "perseverance2",
        "perseverance3",
        "passion1",
        "passion2",
        "passion3",
        "hedonic1",
        "hedonic2",
        "hedonic3",
        "eudaimonic1",
        "eudaimonic2",
        "eudaimonic3",
        "extrinsic1",
        "extrinsic2",
        "extrinsic3",
        "csspm1",
        "csspm2",
        "csspa1",
        "csspa2",
        "csspe1",
        "csspe2",
        "csspi1",
        "csspi2",
        "csssm1",
        "csssm2",
        "csssa1",
        "csssa2",
        "cssse1",
        "cssse2",
        "csssi1",
        "csssi2",
        "csstm1",
        "csstm2",
        "cssta1",
        "cssta2",
        "csste1",
        "csste2",
        "cssti1",
        "cssti2",
        "cssfm1",
        "cssfm2",
        "cssfa1",
        "cssfa2",
        "cssfe1",
        "cssfe2",
        "cssfi1",
        "cssfi2",
        "cssrm1",
        "cssrm2",
        "cssra1",
        "cssra2",
        "cssre1",
        "cssre2",
        "cssri1",
        "cssri2",
        "cssp1",
        "cssp2",
        "csss1",
        "csss2",
        "csst1",
        "csst2",
        "cssf1",
        "cssf2",
        "cssr1",
        "cssr2",
        "cssm1",
        "cssm2",
        "cssa1",
        "cssa2",
        "csse1",
        "csse2",
        "cssi1",
        "cssi2"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "well1",
      "title": "The 1st wave data from the W research",
      "object": "well1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "gender",
        "age",
        "grade",
        "income",
        "cost",
        "SSES",
        "heema01",
        "heema02",
        "heema03",
        "heema04",
        "heema05",
        "heema06",
        "heema07",
        "heema08",
        "heema09",
        "heema10",
        "heema11",
        "heema12",
        "heema13",
        "heema14",
        "heema15",
        "heema16",
        "cssp01",
        "csss01",
        "csst01",
        "cssf01",
        "cssr01",
        "cssp02",
        "csss02",
        "csst02",
        "cssf02",
        "cssr02",
        "cssp03",
        "csss03",
        "csst03",
        "cssf03",
        "cssr03",
        "cssp04",
        "csss04",
        "csst04",
        "cssf04",
        "cssr04",
        "cssp05",
        "csss05",
        "csst05",
        "cssf05",
        "cssr05",
        "cssp06",
        "csss06",
        "csst06",
        "cssf06",
        "cssr06",
        "cssp07",
        "csss07",
        "csst07",
        "cssf07",
        "cssr07",
        "cssp08",
        "csss08",
        "csst08",
        "cssf08",
        "cssr08",
        "cssp09",
        "csss09",
        "csst09",
        "cssf09",
        "cssr09",
        "cssp10",
        "csss10",
        "csst10",
        "cssf10",
        "cssr10",
        "cssp11",
        "csss11",
        "csst11",
        "cssf11",
        "cssr11",
        "cssp12",
        "csss12",
        "csst12",
        "cssf12",
        "cssr12",
        "cssp13",
        "csss13",
        "csst13",
        "cssf13",
        "cssr13",
        "cssp14",
        "csss14",
        "csst14",
        "cssf14",
        "cssr14",
        "cssp15",
        "csss15",
        "csst15",
        "cssf15",
        "cssr15",
        "cssp16",
        "csss16",
        "csst16",
        "cssf16",
        "cssr16",
        "cssp17",
        "csss17",
        "csst17",
        "cssf17",
        "cssr17",
        "cssp18",
        "csss18",
        "csst18",
        "cssf18",
        "cssr18",
        "cssp19",
        "csss19",
        "csst19",
        "cssf19",
        "cssr19",
        "cssp20",
        "csss20",
        "csst20",
        "cssf20",
        "cssr20",
        "grit01",
        "grit02",
        "grit03",
        "grit04",
        "grit05",
        "grit06",
        "grit07",
        "grit08",
        "CET4",
        "flourish01",
        "flourish02",
        "flourish03",
        "flourish04",
        "flourish05",
        "flourish06",
        "flourish07",
        "flourish08",
        "spne01",
        "spne02",
        "spne03",
        "spne04",
        "spne05",
        "spne06",
        "spne07",
        "spne08",
        "spne09",
        "spne10",
        "spne11",
        "spne12"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "well2",
      "title": "The 2nd wave data from the W research",
      "object": "well2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "gender",
        "age",
        "grade",
        "income",
        "cost",
        "SSES",
        "heema01",
        "heema02",
        "heema03",
        "heema04",
        "heema05",
        "heema06",
        "heema07",
        "heema08",
        "heema09",
        "heema10",
        "heema11",
        "heema12",
        "heema13",
        "heema14",
        "heema15",
        "heema16",
        "cssp01",
        "csss01",
        "csst01",
        "cssf01",
        "cssr01",
        "cssp02",
        "csss02",
        "csst02",
        "cssf02",
        "cssr02",
        "cssp03",
        "csss03",
        "csst03",
        "cssf03",
        "cssr03",
        "cssp04",
        "csss04",
        "csst04",
        "cssf04",
        "cssr04",
        "cssp05",
        "csss05",
        "csst05",
        "cssf05",
        "cssr05",
        "cssp06",
        "csss06",
        "csst06",
        "cssf06",
        "cssr06",
        "cssp07",
        "csss07",
        "csst07",
        "cssf07",
        "cssr07",
        "cssp08",
        "csss08",
        "csst08",
        "cssf08",
        "cssr08",
        "cssp09",
        "csss09",
        "csst09",
        "cssf09",
        "cssr09",
        "cssp10",
        "csss10",
        "csst10",
        "cssf10",
        "cssr10",
        "cssp11",
        "csss11",
        "csst11",
        "cssf11",
        "cssr11",
        "cssp12",
        "csss12",
        "csst12",
        "cssf12",
        "cssr12",
        "cssp13",
        "csss13",
        "csst13",
        "cssf13",
        "cssr13",
        "cssp14",
        "csss14",
        "csst14",
        "cssf14",
        "cssr14",
        "cssp15",
        "csss15",
        "csst15",
        "cssf15",
        "cssr15",
        "cssp16",
        "csss16",
        "csst16",
        "cssf16",
        "cssr16",
        "cssp17",
        "csss17",
        "csst17",
        "cssf17",
        "cssr17",
        "cssp18",
        "csss18",
        "csst18",
        "cssf18",
        "cssr18",
        "cssp19",
        "csss19",
        "csst19",
        "cssf19",
        "cssr19",
        "cssp20",
        "csss20",
        "csst20",
        "cssf20",
        "cssr20",
        "grit01",
        "grit02",
        "grit03",
        "grit04",
        "grit05",
        "grit06",
        "grit07",
        "grit08",
        "CET4",
        "flourish01",
        "flourish02",
        "flourish03",
        "flourish04",
        "flourish05",
        "flourish06",
        "flourish07",
        "flourish08",
        "spne01",
        "spne02",
        "spne03",
        "spne04",
        "spne05",
        "spne06",
        "spne07",
        "spne08",
        "spne09",
        "spne10",
        "spne11",
        "spne12"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "well3",
      "title": "The 3rd wave data from the W research",
      "object": "well3",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "gender",
        "age",
        "grade",
        "loan",
        "heema01",
        "heema02",
        "heema03",
        "heema04",
        "heema05",
        "heema06",
        "heema07",
        "heema08",
        "heema09",
        "heema10",
        "heema11",
        "heema12",
        "heema13",
        "heema14",
        "heema15",
        "heema16",
        "grit01",
        "grit02",
        "grit03",
        "grit04",
        "grit05",
        "grit06",
        "grit07",
        "grit08",
        "CET4",
        "flourish01",
        "flourish02",
        "flourish03",
        "flourish04",
        "flourish05",
        "flourish06",
        "flourish07",
        "flourish08",
        "spne01",
        "spne02",
        "spne03",
        "spne04",
        "spne05",
        "spne06",
        "spne07",
        "spne08",
        "spne09",
        "spne10",
        "spne11",
        "spne12"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assess_coa",
      "title": "Assess course objective achievement",
      "topics": [
        "assess_coa"
      ]
    },
    {
      "page": "calc_PRE",
      "title": "Calculate PRE from Cohen's f, f_squared, or partial correlation",
      "topics": [
        "calc_PRE"
      ]
    },
    {
      "page": "compare_lm",
      "title": "Compare lm()'s fitted outputs using PRE and R-squared.",
      "topics": [
        "compare_lm"
      ]
    },
    {
      "page": "cut_r",
      "title": "Cut-off values of Pearson's correlation r with known sample size n.",
      "topics": [
        "cut_r"
      ]
    },
    {
      "page": "depress",
      "title": "Three-wave data from the D research",
      "topics": [
        "depress"
      ]
    },
    {
      "page": "depress1",
      "title": "The 1st wave data from the D research",
      "topics": [
        "depress1"
      ]
    },
    {
      "page": "depress2",
      "title": "The 2nd wave data from the D research",
      "topics": [
        "depress2"
      ]
    },
    {
      "page": "depress3",
      "title": "The 3rd wave data from the D research",
      "topics": [
        "depress3"
      ]
    },
    {
      "page": "divide",
      "title": "Divide a vector into three groups",
      "topics": [
        "divide"
      ]
    },
    {
      "page": "pick_dcb",
      "title": "Pick Double Color Balls",
      "topics": [
        "pick_dcb"
      ]
    },
    {
      "page": "pick_sl",
      "title": "Pick Super Lotto numbers",
      "topics": [
        "pick_sl"
      ]
    },
    {
      "page": "plot.Keng_power",
      "title": "Plot the power against the sample size for the Keng_power class",
      "topics": [
        "plot.Keng_power"
      ]
    },
    {
      "page": "power_lm",
      "title": "Conduct a priori power analysis, and plan the sample size for regression analysis",
      "topics": [
        "power_lm"
      ]
    },
    {
      "page": "power_r",
      "title": "Conduct a priori power analysis, and plan the sample size for r.",
      "topics": [
        "power_r"
      ]
    },
    {
      "page": "powered_lm",
      "title": "Compute lm's post-hoc power",
      "topics": [
        "powered_lm"
      ]
    },
    {
      "page": "powered_r",
      "title": "Compute r's post-hoc power",
      "topics": [
        "powered_r"
      ]
    },
    {
      "page": "print.Keng_power",
      "title": "Print primary but not all contents of the Keng_power class",
      "topics": [
        "print.Keng_power"
      ]
    },
    {
      "page": "Scale",
      "title": "Scale a vector",
      "topics": [
        "Scale"
      ]
    },
    {
      "page": "test_r",
      "title": "Test the significance, analyze the power, and plan the sample size for r.",
      "topics": [
        "test_r"
      ]
    },
    {
      "page": "well",
      "title": "Three-wave data from the W research",
      "topics": [
        "well"
      ]
    },
    {
      "page": "well1",
      "title": "The 1st wave data from the W research",
      "topics": [
        "well1"
      ]
    },
    {
      "page": "well2",
      "title": "The 2nd wave data from the W research",
      "topics": [
        "well2"
      ]
    },
    {
      "page": "well3",
      "title": "The 3rd wave data from the W research",
      "topics": [
        "well3"
      ]
    }
  ],
  "_pkglogo": "https://github.com/qyaozh/keng/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/qyaozh/keng/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "assessCOA.Rmd",
      "filename": "assessCOA.html",
      "title": "assessCOA",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-08-31 16:27:25",
      "modified": "2025-10-08 13:24:03",
      "commits": 3
    },
    {
      "source": "commonSampleSizes.Rmd",
      "filename": "commonSampleSizes.html",
      "title": "Common Sample Sizes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Use Pearson's r",
        "Mediation",
        "Moderation",
        "ANOVA",
        "Control for other covariates",
        "Conclusion",
        "Reference"
      ],
      "created": "2024-12-24 04:59:20",
      "modified": "2025-08-31 16:31:04",
      "commits": 4
    },
    {
      "source": "PartialRegression.Rmd",
      "filename": "PartialRegression.html",
      "title": "Partial Regression",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Multiple regression with t-test",
        "Hierarchical regression with F-test",
        "The PRE of the single parameter",
        "One-predictor regression using the residuals"
      ],
      "created": "2024-11-05 15:25:36",
      "modified": "2026-04-12 18:43:06",
      "commits": 9
    },
    {
      "source": "PlanSampleSize.Rmd",
      "filename": "PlanSampleSize.html",
      "title": "Plan Sample Size",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Understand the arguments of power_lm()",
        "PRE",
        "PA and PC",
        "Application",
        "A set of predictors",
        "A continuous predictor",
        "Moderation model",
        "One-sample t -test or an intercept-only regression",
        "Two-sample t -test or a binary predictor",
        "ANOVA or a multicategorical predictor",
        "ANOVA concerning repeated measures",
        "Reference"
      ],
      "created": "2024-11-24 18:17:05",
      "modified": "2026-04-12 18:43:06",
      "commits": 12
    },
    {
      "source": "PRE.Rmd",
      "filename": "PRE.html",
      "title": "PRE",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-11-06 02:53:03",
      "modified": "2026-04-13 03:50:03",
      "commits": 9
    }
  ],
  "_score": 5.832508912706237,
  "_indexed": true,
  "_nocasepkg": "keng",
  "_universes": [
    "qyaozh"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:25:52.000Z",
      "distro": "noble",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "e3bfdc0262e1d404829704b64cd7710e8c1f1bd1a5c140e3eccc62389e303a0d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:25:23.000Z",
      "distro": "noble",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "af414541b6b39cbd2b78ae03e6c5385f1966f4be4f97ed648973a98e63490d23",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:25:07.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "3ad66bdb706c3c3043c1216dc3fc1d6eed15f0e43708bac4a1adfe4960cf8328",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:24:53.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "ab2a6da33575b9f14c4639081866c556ef3ca1e457e3ef9e2164353fea5c36ec",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:25:17.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "fee1a7ad0055f120e71cb6c66ba398f3578ca7adc4e31c3ae4c23054cb927361",
      "status": "success",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:24:25.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "e6342c83e624a4719c9ff2fdf95ef11af2bd77bc7da54fc685b98ddc621445bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:24:34.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "ffe4d76dd4581b8842f5214fa225b5c70e60eb0462b0110099da9733bc6a84a7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2026.3.19.9000",
      "date": "2026-05-24T15:24:24.000Z",
      "commit": "1cb1220e97decc3f319a914ca6cd48bbc3ae76aa",
      "fileid": "95e9feb7dcc7fc6f266041613dc20da5dd5bb0b04133dd2d47f41bb071352889",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/qyaozh/actions/runs/26365056407"
    }
  ]
}