Learn R Programming

dcmr (version 1.0)

GetAttributeProfiles: Attribute Profiles

Description

Given a number of attributes, it generates all possible attribute profiles (response patterns of latent variables)

Usage

GetAttributeProfiles(nattributes, attribute.names = NULL, profile.names = NULL)

Arguments

nattributes
a numeric value for number of attributes
attribute.names
optional character vector of attribute names
profile.names
optional character vector of attribute profile names

Value

a matrix of dimension 2^nattributes X nattributes containing binary values

Examples

Run this code
## Not run: 
# 
#  GetAttributeProfiles(nattributes=3)
# ## End(Not run)

Run the code above in your browser using DataLab