Learn R Programming

randomLCA (version 1.1-4)

fitted: fitted values

Description

Extract fitted values for randomLCA object.

Usage

# S3 method for randomLCA
fitted(object, ...)

Value

A data frame. The first columns of the data frame correspond to the patterns, followed by the frequency of each pattern, and then the fitted number for each pattern.

Arguments

object

randomLCA object

...

additional argument; currently none is used.

Author

Ken Beath ken.beath@mq.edu.au

Examples

Run this code
# \donttest{
dentistry.lcarandom <- randomLCA(dentistry[, 1:5], freq = dentistry$freq, 
	random = TRUE, probit = TRUE, cores = 1)
print(fitted(dentistry.lcarandom))
# }

Run the code above in your browser using DataLab