[R] (no subject)

Jeremie Juste jerem|eju@te @end|ng |rom gm@||@com
Sat Oct 20 15:21:50 CEST 2018

malika yassa via R-help <r-help using r-project.org> writes:


Can you specify what you mean by deleting exactly?
Do you want to have zero in the diagonal or do you want to extract the
non-diagonal part?

Besides your matrix is not a square matrix. Do you really want to
extract the non-diagonal part of a non square matrix?

Best regards,


> hellowplease,do you help mei have this matrixm<-matrix(( 1:12, nrow = 3 )
> I want to delete the diagonal values of this matrix
> can anyone do thisthinks 
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list