aibd {aibd}  R Documentation 
This function specifies an Attraction Indian Buffet Distribution (AIBD), which is a distribution over feature allocations.
aibd( mass, permutation, temperature, distance, decayFunction = c("exponential", "reciprocal", "identity")[1] )
mass 
The mass (a.k.a., concentration) parameter of the AIBD. 
permutation 
A permutation, i.e., a vector of integers 
temperature 
A nonnegative scalar which determines how influential the distance matrix is in the feature allocation distribution. The AIBD reduces to the IBP when the temperature is zero and diverges from the IBP as the temperature increases. 
distance 
A distance matrix, i.e., a symmetric matrix whose

decayFunction 
One of the following strings: 
An object representing an Attraction Indian Buffet Distribution (AIBD) for feature allocations.
states < c("California","Wisconsin","Nebraska","New York") data < USArrests[states,] dist < dist(scale(data)) aibd(1, seq_along(states), 1.0, dist)