adjust_total_score_bounds: Adjusts provided total min/max to be within mathematically...

View source: R/sim.questionnaire.R

adjust_total_score_boundsR Documentation

Adjusts provided total min/max to be within mathematically possible bounds for a questionnaire.

Description

Adjusts provided total min/max to be within mathematically possible bounds for a questionnaire.

Usage

adjust_total_score_bounds(total_min, total_max, n_items, likert, q_name = NULL)

Arguments

total_min

User-specified minimum total score.

total_max

User-specified maximum total score.

n_items

Number of items in the questionnaire.

likert

Vector of possible Likert scale values.

q_name

(Optional) Name of the questionnaire for warnings.

Value

A list containing the adjusted total_min and total_max.


ccamp83/mu documentation built on July 4, 2025, 6:20 p.m.