Bell_constraints function

Function to calculate the number of partitions with groups of sizes between smin and smax

Function to calculate the number of partitions with groups of sizes between smin and smax

Bell_constraints(n, smin, smax)

Arguments

  • n: number of nodes
  • smin: minimum group size possible in the partition
  • smax: minimum group size possible in the partition

Returns

a numeric

Examples

n <- 6 size_min <- 2 size_max <- 4 Bell_constraints(n,size_min,size_max)
  • Maintainer: Marion Hoffman
  • License: GPL (>= 3)
  • Last published: 2024-05-10