add1.item.scale: Iteratively add items to a scale and recompute scale measures

View source: R/scales.R

add1.item.scaleR Documentation

Iteratively add items to a scale and recompute scale measures

Description

This allows you to take an item.scale and iteratively add new items. It recalculates the scale and also calculates new Cronbach's alpha for each new scale.

Usage

## S3 method for class 'item.scale'
add1(x, scope)

Arguments

x

An item.scale

scope

A character vector containing the list of items that will be added. Items must be present either in the original data from of x or in the environment.

Details

This is useful during exploratory analysis in determining which items are needed in a scale. Each item in scope will be added separately in the order they are given and a new scale/alpha will be computed.

Value

An n by 3 matrix where n is the number of items to be added. Includes the mean, standard deviation, and alpha of each new scale as items are added.


rwash/surveys documentation built on Sept. 18, 2023, 11:31 p.m.