Package: stenR 0.6.9

stenR: Standardization of Raw Discrete Questionnaire Scores

An user-friendly framework to preprocess raw item scores of questionnaires into factors or scores and standardize them. Standardization can be made either by their normalization in representative sample, or by import of premade scoring table.

Authors:Michal Kosinski [aut, cre]

stenR_0.6.9.tar.gz
stenR_0.6.9.zip(r-4.5)stenR_0.6.9.zip(r-4.4)stenR_0.6.9.zip(r-4.3)
stenR_0.6.9.tgz(r-4.4-any)stenR_0.6.9.tgz(r-4.3-any)
stenR_0.6.9.tar.gz(r-4.5-noble)stenR_0.6.9.tar.gz(r-4.4-noble)
stenR_0.6.9.tgz(r-4.4-emscripten)stenR_0.6.9.tgz(r-4.3-emscripten)
stenR.pdf |stenR.html
stenR/json (API)

# Install 'stenR' in R:
install.packages('stenR', repos = c('https://statismike.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/statismike/stenr/issues

Datasets:
  • HEXACO_60 - Sample data of HEXACO-60 questionnaire results
  • IPIP_NEO_300 - Sample data of IPIP-NEO-300 questionnaire results
  • SLCS - Sample data of SLCS questionnaire results

On CRAN:

4.00 score 5 scripts 156 downloads 42 exports 18 dependencies

Last updated 2 years agofrom:0d434dea4b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 21 2024
R-4.5-winOKOct 21 2024
R-4.5-linuxOKOct 21 2024
R-4.4-winOKOct 21 2024
R-4.4-macOKOct 21 2024
R-4.3-winOKOct 21 2024
R-4.3-macOKOct 21 2024

Exports:attach_scalesCombScaleSpecCompScoreTableexport_ScaleSpecexport_ScoringTableextract_observationsFrequencyTableGroupAssignmentGroupConditionsGroupedFrequencyTableGroupedScoreTableimport_ScaleSpecimport_ScoringTableintersect_GroupAssignmentis.CombScaleSpecis.FrequencyTableis.GroupAssignmentis.GroupConditionsis.GroupedFrequencyTableis.GroupedScoreTableis.intersectedis.ScaleSpecis.ScoreTableis.ScoringTableis.Simulatedis.StandardScalenormalize_scorenormalize_scores_dfnormalize_scores_groupednormalize_scores_scoringScaleSpecScoreTableSimFrequencyTableStandardScaleSTANINESTENstrip_ScoreTablesum_items_to_scaleTANINETETRONICto_ScoringTableWECHSLER_IQ

Dependencies:clidata.tabledplyrfansigenericsgluelifecyclemagrittrmomentspillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

stenR usage

Rendered fromusage.Rmdusingknitr::rmarkdownon Oct 21 2024.

Last update: 2022-08-17
Started: 2022-08-10

Tour from data to results

Rendered fromtour.Rmdusingknitr::rmarkdownon Oct 21 2024.

Last update: 2022-08-10
Started: 2022-08-10

Readme and manuals

Help Manual

Help pageTopics
Attach additional StandardScale to already created ScoreTableattach_scales
Combined Scale SpecificationCombScaleSpec print.CombScaleSpec summary.CombScaleSpec
R6 class for producing easily re-computable ScoreTableCompScoreTable
Default Standard Scalesdefault_scales STANINE STEN TANINE TETRONIC WECHSLER_IQ
Export scale specificationexport_ScaleSpec
Export ScoringTableexport_ScoringTable
Extract observations from dataextract_observations
Create a FrequencyTableFrequencyTable plot.FrequencyTable print.FrequencyTable summary.FrequencyTable
Assign to groups based on GroupConditionsGroupAssignment print.GroupAssignment summary.GroupAssignment
Conditions for observation groupingas.data.frame.GroupConditions GroupConditions print.GroupConditions
Create GroupedFrequencyTableGroupedFrequencyTable print.GroupedFrequencyTable summary.GroupedFrequencyTable
Create GroupedScoreTableGroupedScoreTable print.GroupedScoreTable
Sample data of HEXACO-60 questionnaire resultsHEXACO_60
Import scale specificationimport_ScaleSpec
Import ScoringTableimport_ScoringTable
Intersect two GroupAssignmentintersect_GroupAssignment
Sample data of IPIP-NEO-300 questionnaire resultsIPIP_NEO_300
Checkers for stenR S3 and R6 classesis.CombScaleSpec is.FrequencyTable is.GroupAssignment is.GroupConditions is.GroupedFrequencyTable is.GroupedScoreTable is.intersected is.ScaleSpec is.ScoreTable is.ScoringTable is.Simulated is.StandardScale is_stenR_classes
Normalize raw scoresnormalize_score
Normalize raw scores for multiple variablesnormalize_scores_df
Normalize scores using GroupedFrequencyTables or GroupedScoreTablesnormalize_scores_grouped
Normalize scores using ScoringTablesnormalize_scores_scoring
Gerenic plot of the GroupedFrequencyTableplot.GroupedFrequencyTable
Gerenic plot of the GroupedScoreTableplot.GroupedScoreTable
Scale Specification objectprint.ScaleSpec ScaleSpec summary.ScaleSpec
Create a ScoreTableplot.ScoreTable print.ScoreTable ScoreTable
Generate FrequencyTable using simulated distributionSimFrequencyTable
Sample data of SLCS questionnaire resultsSLCS
Specify standard scaleplot.StandardScale print.StandardScale StandardScale
Revert the ScoreTable back to FrequencyTable object.strip_ScoreTable
Sum up discrete raw datasum_items_to_scale
Create ScoringTablesummary.ScoringTable to_ScoringTable to_ScoringTable.GroupedScoreTable to_ScoringTable.ScoreTable