cfadat {cfa}R Documentation

Simple cfa test data

Description

The cfadat data frame has 8 rows and 4 columns. There are 3 columns containing the configurations and 1 column containing the counts

Usage

data(cfadat)

Format

This data frame contains the following columns:

gender
a factor with levels f m
married
a factor with levels mno myes
children
a factor with levels cno cyes
count
a numeric vector containing the counts

Details

A dataset for cfa must contain 2 or more columns with factors or numbers indication the configuration and one column indicating the counts

Source

The data were freely invented to illustrate the function of the cfa

Examples

data(cfadat)
cfa(cfadat[1:3],cfadat[4])