one (two) of the uses for diag when nrow is specified or when x is a vector of length one, you get an identity matrix diag(5) diag(nrow = 5).
確定! 回上一頁