powered by
This function specifies an Indian Buffet Process (IBP), which is a distribution over feature allocations.
ibp(mass, x)
The mass (a.k.a., concentration) parameter.
A character vector giving the labels of the items to place in a feature allocation, or an integer giving the number of items.
An object representing an Indian Buffet Process (IBP) feature allocation distribution.
# NOT RUN { ibp(1,5) ibp(1,c("CA","WI","NE","NY","UT")) # }
Run the code above in your browser using DataLab