I want to enter a% n
of matrices in R in a function, for example:
Matriz<- as.integer(readline(prompt="CUantas Matrices desea? "))
for(i in 1:Matriz){
Fila = as.integer(readline(prompt="Ingrese el tamaño de la fila: "))
Columna = as.integer(readline(prompt="Ingrese el tamaño de la Columna: "))
AA<- matrix(data = sample(-10:10, Fila*Columna, replace = FALSE), nrow = Fila, ncol = Columna)
}
where you enter the matrices that you want, but you keep them in variable AA
and I need you to store them in different variables, how can I get this?