y <- matrix(rep(10,4),2,2)
> y
     [,1] [,2]
[1,]   10   10
[2,]   10   10



I expected an output of
> y
     [,1] [,2]
[1,]   10   4
[2,]   10   4



Thanks and Regards.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to