diag-replace: Set diagonal of an HDF5Matrix (generic)

diag<-R Documentation

Set diagonal of an HDF5Matrix (generic)

Description

S3 generic for diag<-. Dispatches to the diag<-.HDF5Matrix method for HDF5Matrix objects, and to base::diag<- for all others.

Arguments

x

A matrix or HDF5Matrix object.

value

Numeric vector of replacement values for the diagonal.

Value

The modified object with the diagonal replaced.


BigDataStatMeth documentation built on May 15, 2026, 1:07 a.m.