Learn R Programming

DPP (version 0.1.2)

expectedNumberOfClusters: Calculate the expected number of clusters from the number of individuals and a concentration parameter

Description

Calculate the expected number of clusters from the number of individuals and a concentration parameter

Usage

expectedNumberOfClusters(n, a)

Arguments

n

the number of individuals

a

the concentration parameter

Value

the expected number of clusters

Examples

Run this code
# NOT RUN {
expectedNumberOfClusters(100,0.2)
expectedNumberOfClusters(100,0.15)
# }

Run the code above in your browser using DataLab