Skip to content

transforming a matrix

2 messages · Dimitri Szerman, David Winsemius

#
Am I correct in thinking that you actually want a function that will  
take the three row matrix

Ystart <- matrix(c(1:3, 34,-56,27), ncol=2) and return the 4 column  
matrix offered?

As it is I see no way that we could know what rule you wanted to apply  
to that four row X matrix to get the 9 row Y matrix. I suppose this  
could be one of those intelligence test questions that I won't get  
right and thereby fail my entrance exams.