Learn R Programming

bbl (version 1.0.0)

fitted.bbl: Fitted Response Group Probabilities

Description

Response group probabilities from BBL fit

Usage

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

Arguments

object

Object of class bbl.

...

Other arguments

Value

Matrix of response group probabities with data points in rows and response groups in columns

Details

This method returns predicted response group probabilities of trainig data

Examples

Run this code
# NOT RUN {
titanic <- as.data.frame(Titanic)
fit <- bbl(Survived ~ Class + Sex + Age, data=titanic, weights=titanic$Freq)

# }

Run the code above in your browser using DataLab