[R] function for special matrix design

kevinchang shukai at seas.upenn.edu
Mon Oct 1 18:37:14 CEST 2007


Hi All,

I am trying to make a matrix with a particular value for all the elements
above and including diagonal and another particular value for all the
elements below diagonal. Obviously , Matrix function in Matrix package does
not work since it only allow filling by either row or column. So I am
wondering if there is a built-in function allowing me to do this ? please
help. Thanks



-- 
View this message in context: http://www.nabble.com/function-for-special-matrix-design-tf4549437.html#a12982709
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list