This function is predominantly intended to be used within the ipf routines in the migest package.
ipf_seed(m = NULL, R = NULL, n_dim = NULL, dn = NULL)
An array
or matrix
Matrix, Array or NULL to build seed. If NULL seed will be 1 for all elements.
Number of rows, columns and possibly n_dimensions for seed matrix or array.
Numeric integer for the number of n_dimensions - 2 for matrix, 3 or more for an array
Vector of character strings for n_dimension names
Guy J. Abel