how to convert a data matrix into an array

Please do provide a 'reprex'

But from the looks of it, I'm guessing you want to extract the contents of a matrix to single dimensional nested array? So I think you're looking for abind. Have a read through the documentation, I hope that helps.

If you want an answer to a specific problem, then I can't do much without a reprex I'm afraid. :frowning:

1 Like