Learn R Programming

unsum (version 0.2.0)

closure_count_initial: Count CLOSURE samples in advance

Description

Determine how many samples closure_generate() would find for a given set of summary statistics.

  • closure_count_initial() only counts the first round of samples, from which all other ones would be generated.

  • There is currently no closure_count_all() function.

This can help predict how much time closure_generate() would take, and avoid prohibitively long runs.

Usage

closure_count_initial(scale_min, scale_max)

Value

Integer (length 1).

Arguments

scale_min, scale_max

Integers (length 1 each). Minimum and maximum of the scales to which the reported statistics refer.

Examples

Run this code
closure_count_initial(scale_min = 1, scale_max = 5)

Run the code above in your browser using DataLab