split_n: Splits 'n' into 'g' Groups

Description Usage Arguments Details Value Author(s)

View source: R/simulate.R

Description

Divides an integer into g approximately equal integers and returns as a list.

Usage

1
split_n(n, g)

Arguments

n

Integer indicating the total number of nodes in the network.

g

Integer indicating the number of groups.

Details

Divides an integer into g approximately equal integers and returns as a list.

Value

List of integers of approximately the same size.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/dynnet documentation built on May 18, 2019, 4:53 p.m.