triagSize {NMsim}R Documentation

Calculate number of elements for matrix specification

Description

calculate number of elements in the diagonal and lower triangle of a squared matrix, based on the length of the diagonal.

Usage

triagSize(diagSize)

Arguments

diagSize

The length of the diagonal. Same as number of rows or columns.

Value

An integer


[Package NMsim version 0.2.4 Index]