Skip to content

Vector of matrix

2 messages · Vieilledent Ghislain, Jacques VESLOT

#
It seems that Xi is a matrix; so it can't be included in a vector.

You need to create a list for the result of your "for" loop.

res <- list()

for ( i in ...) {

res[[i]] <-  Xi }


 

Vieilledent Ghislain a ??crit :