ShowItems: Show Content of Empirically Elected Items.

Description Usage Arguments Details Value Author(s) Examples

View source: R/Scale.R

Description

This function relies to ChooseBest() function, in order to print out the content of the highest loading items.

Usage

1
ShowItems(it, n=5, write_file=FALSE, scale_name="MyItems")

Arguments

it

An ItemAnalysis object, created by the ItemAnalysis() function.

n

integer. Number of items to be retained and printed on screen.

write_file

logical. Should a file be written with the elected items?

scale_name

character. Name to be used in file, if one should be written.

Details

Items are written to file without their original labels. I chose this way, because use of this function is mainly aimed at passing on elected items to other formatting programs in order to administer. Refer to the output of the function inside R, as well as to the ChooseItems() function, for the original item labels.

The default filename is "MyItems.txt". Change the scale_name argument to costumize that.

Value

A character vector of the chosen items.

Author(s)

Nikolaos Giallousis, psierevn@gmail.com

Examples

1
2
3
4
5
# not run

# depressionRel is an ItemAnalysis object
# ShowItems(depressionRel)
# ShowItems(depressionRel, 7)

Scale documentation built on May 2, 2019, 1:27 p.m.

Related to ShowItems in Scale...