guttman: Create guttman object

Description Usage Arguments Value Examples

View source: R/guttman.R

Description

Create guttman object

Usage

1
guttman(dataset)

Arguments

dataset

a matrix or data frame with binary values

Value

Object of guttman class, a list which contains:

dataset

data frame, original dataset provided as imput

optimal_dataset

data frame, dataset sorted in order to minimize Guttman errors

optimal_row_errors

numeric vector of row errors for optimal_dataset

optimal_column_errors

numeric vector of column errors for optimal_dataset

total_errors

numeric, total number of Guttman errors in optimal_dataset

TN

numeric, total number of mode categories in columns

N

numeric, total number of responses

MMR

numeric, Minimal Marginal Reproducibility

ME

numeric, Marginal Error

CR

numeric, Coefficient of Reproducibility

CS

numeric, Coefficient of Scalability

Examples

1
2
3
data("SFd")
guttman_object = guttman(dataset = SFd)
summary(guttman_object)

Libum/guttman documentation built on Oct. 21, 2019, 9:11 p.m.