gen_int_sum_int: generate n_int random integers that sum to sum_int

Description Usage Arguments Value

View source: R/helpers.R

Description

generate n_int random integers that sum to sum_int

Usage

1
gen_int_sum_int(n_int, sum_int)

Arguments

n_int

number of random integers to generate

sum_int

integer to which those integers should sum to

Value

numeric vector of length n_int


jameshay218/vaxedemic documentation built on Dec. 10, 2018, 8:11 p.m.