fill_ps: Build the partition counts table.

Description Usage Arguments Value

View source: R/build_P_table.R

Description

Recursively build P(s, n) table where P(s, n) is the number of partitions of n into s, including 0s.

Usage

1
2
fill_ps(max_s, max_n, storeyn = TRUE,
  storepath = "uniform_fs_sampling")

Arguments

max_s

max species

max_n

max individuals

storeyn

TRUE/FALSE whether to store the P table. If FALSE, returns the table.

storepath

path to store the P table.

Value

matrix of P(s, n) for all combinations of and s and n up to max_s and max_n.


diazrenata/feasiblesads documentation built on April 24, 2021, 12:26 a.m.