Learn R Programming

randomLCA (version 1.1-4)

classProbs: Determines class probabilities for fitted model

Description

The class probabililities for the model are returned.

Usage

classProbs(object)

Value

A vector of class probabilities for each class.

Arguments

object

randomLCA object

Author

Ken Beath

Details

Simply extracts the corresponding variable from the randomLCA object.

Examples

Run this code
# \donttest{
pap.lca2 <- randomLCA(pap[, 1:10], freq = pap$Freq, nclass = 2, cores = 1)
print(classProbs(pap.lca2))
# }

Run the code above in your browser using DataLab