ipf_seed: Quickly create IPF seed

View source: R/ipf_seed.R

ipf_seedR Documentation

Quickly create IPF seed

Description

This function is predominantly intended to be used within the ipf routines in the migest package.

Usage

ipf_seed(m = NULL, R = NULL, n_dim = NULL, dn = NULL)

Arguments

m

Matrix, Array or NULL to build seed. If NULL seed will be 1 for all elements.

R

Number of rows, columns and possibly n_dimensions for seed matrix or array.

n_dim

Numeric integer for the number of n_dimensions - 2 for matrix, 3 or more for an array

dn

Vector of character strings for n_dimension names

Value

An array or matrix

Author(s)

Guy J. Abel


migest documentation built on Nov. 18, 2023, 9:06 a.m.