how to convert a data matrix into an array

hi,
i have a hourly data in the form of a matrix for four year. I have different arrays for example
for month an array of length n (is the number of rows of matrix in our case it is 1826) with values(01,02,...,53). please help in this regard. thanks alot in advance.

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

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.