4.12. a vector of diagonal elements Notes | R Programming BDS | TU | TABFlux