rStats.js v1.3.0
    Preparing search index...

    Interface DiagOptions

    Options for diag.

    interface DiagOptions {
        ncol?: number;
        nrow?: number;
    }
    Index
    ncol?: number

    Number of columns of the matrix built from a vector or a number (R's ncol). Default: nrow.

    nrow?: number

    Number of rows of the matrix built from a vector or a number (R's nrow). Default: the length of the vector.